Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.00113, allocations: 110.2 kB / 18.25 MB, free: 4.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 195.3 kB / 19.18 MB, free: 3.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.326/1.326, allocations: 205.1 MB / 225 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 47.92 kB / 281.3 MB, free: 3.172 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08315/0.08438, allocations: 46.64 MB / 328 MB, free: 4.465 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.006934/0.09136, allocations: 5.874 MB / 333.8 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003746/0.09514, allocations: 1.897 MB / 335.7 MB, free: 12.64 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004593/0.09566, allocations: 20 kB / 335.8 MB, free: 12.62 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003559/0.09923, allocations: 1.626 MB / 337.4 MB, free: 10.99 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002035/0.1013, allocations: 0.8316 MB / 338.2 MB, free: 10.15 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006829/0.102, allocations: 275.5 kB / 338.5 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009347/0.1029, allocations: 0.8911 MB / 339.4 MB, free: 8.988 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/0.1042, allocations: 0.8917 MB / 340.3 MB, free: 8.074 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000458/0.1046, allocations: 390.5 kB / 340.6 MB, free: 7.691 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006007/0.1053, allocations: 0.5331 MB / 341.2 MB, free: 7.156 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.1054, allocations: 87.98 kB / 341.3 MB, free: 7.07 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005859/0.106, allocations: 239.9 kB / 341.5 MB, free: 6.836 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.1061, allocations: 207.2 kB / 341.7 MB, free: 6.633 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000422/0.1066, allocations: 469.7 kB / 342.2 MB, free: 6.172 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001398/0.108, allocations: 1.219 MB / 343.4 MB, free: 4.949 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.108, allocations: 0 / 343.4 MB, free: 4.949 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.108, allocations: 0 / 343.4 MB, free: 4.949 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.887e-05/0.108, allocations: 3.938 kB / 343.4 MB, free: 4.945 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.003499/0.1115, allocations: 1.425 MB / 344.8 MB, free: 3.469 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.1116, allocations: 8.031 kB / 344.8 MB, free: 3.461 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007063/0.1187, allocations: 0.9676 MB / 345.8 MB, free: 2.492 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009258/0.1196, allocations: 450.9 kB / 346.2 MB, free: 2.012 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.233e-05/0.1197, allocations: 78.55 kB / 346.3 MB, free: 1.934 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/0.1199, allocations: 108.4 kB / 346.4 MB, free: 1.828 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/0.1219, allocations: 1.125 MB / 347.5 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/0.1219, allocations: 0 / 347.5 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.122, allocations: 48 kB / 347.6 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/0.122, allocations: 24 kB / 347.6 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.1239, allocations: 1.14 MB / 348.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005294/0.1292, allocations: 3.964 MB / 352.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003395/0.1326, allocations: 3.76 MB / 356.5 MB, free: 6.816 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005037/0.1331, allocations: 316.6 kB / 356.8 MB, free: 6.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.1333, allocations: 97.64 kB / 356.9 MB, free: 6.387 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.1333, allocations: 47.06 kB / 356.9 MB, free: 6.332 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 3.005e-06/0.1333, allocations: 0 / 356.9 MB, free: 6.332 MB / 302.1 MB Notification: Performance of matching and sorting (n=71): time 0.001435/0.1348, allocations: 0.7602 MB / 357.7 MB, free: 5.566 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.1348, allocations: 111.4 kB / 357.8 MB, free: 5.434 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003814/0.1352, allocations: 328.2 kB / 358.1 MB, free: 5.102 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/0.1353, allocations: 33.7 kB / 358.1 MB, free: 5.062 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002682/0.1355, allocations: 445.9 kB / 358.6 MB, free: 4.617 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.1357, allocations: 240.6 kB / 358.8 MB, free: 4.379 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002312/0.136, allocations: 170.5 kB / 359 MB, free: 4.207 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1361, allocations: 358.8 kB / 359.3 MB, free: 3.848 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004685/0.1366, allocations: 241.9 kB / 359.6 MB, free: 3.609 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006478/0.1373, allocations: 0.563 MB / 360.1 MB, free: 2.898 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.1384, allocations: 0.8715 MB / 361 MB, free: 1.883 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.1384, allocations: 0 / 361 MB, free: 1.883 MB / 302.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001438/0.1399, allocations: 0.9073 MB / 361.9 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.1399, allocations: 15.88 kB / 361.9 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/0.1399, allocations: 16 kB / 361.9 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.863e-05/0.14, allocations: 20 kB / 361.9 MB, free: 0.918 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007925/0.1408, allocations: 231.6 kB / 362.2 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.348e-05/0.1408, allocations: 23.92 kB / 362.2 MB, free: 0.668 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004901/0.1413, allocations: 106.9 kB / 362.3 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.475e-05/0.1414, allocations: 40 kB / 362.3 MB, free: 0.5234 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003174/0.1417, allocations: 237.5 kB / 362.6 MB, free: 288 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.1418, allocations: 51.38 kB / 362.6 MB, free: 236 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/0.1431, allocations: 0.6862 MB / 363.3 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.1431, allocations: 15.94 kB / 363.3 MB, free: 15.52 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.1432, allocations: 3.984 kB / 363.3 MB, free: 15.52 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.1432, allocations: 0 / 363.3 MB, free: 15.52 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002587/0.1458, allocations: 1.59 MB / 364.9 MB, free: 13.87 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.1458, allocations: 3.938 kB / 364.9 MB, free: 13.87 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000598/0.1464, allocations: 147.8 kB / 365.1 MB, free: 13.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.849e-06/0.1464, allocations: 4 kB / 365.1 MB, free: 13.72 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.372e-05/0.1465, allocations: 20 kB / 365.1 MB, free: 13.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.1465, allocations: 0 / 365.1 MB, free: 13.7 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1465, allocations: 4 kB / 365.1 MB, free: 13.7 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.1482, allocations: 1.158 MB / 366.3 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002126/0.1484, allocations: 132.4 kB / 366.4 MB, free: 12.37 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.266e-05/0.1485, allocations: 16 kB / 366.4 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003905/0.1489, allocations: 23.98 kB / 366.4 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.1491, allocations: 52.59 kB / 366.5 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.772e-05/0.1491, allocations: 20 kB / 366.5 MB, free: 12.26 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002351/0.1493, allocations: 215.1 kB / 366.7 MB, free: 12.05 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1494, allocations: 0 / 366.7 MB, free: 12.05 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009385/0.1503, allocations: 243.1 kB / 366.9 MB, free: 11.81 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003187/0.1506, allocations: 143.1 kB / 367.1 MB, free: 11.66 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001741/0.1524, allocations: 0.7301 MB / 367.8 MB, free: 10.93 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.1524, allocations: 0 / 367.8 MB, free: 10.93 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005057/0.1529, allocations: 315.6 kB / 368.1 MB, free: 10.63 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006723/0.1536, allocations: 53.28 kB / 368.2 MB, free: 10.57 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002622/0.1562, allocations: 1.45 MB / 369.6 MB, free: 9.086 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006318/0.1569, allocations: 0.928 MB / 370.5 MB, free: 8.129 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/0.1571, allocations: 67.36 kB / 370.6 MB, free: 8.062 MB / 318.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1571, allocations: 0 / 370.6 MB, free: 8.062 MB / 318.1 MB Notification: Performance of Templates: time 0.01383/0.171, allocations: 7.983 MB / 378.6 MB, free: 68 kB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches