Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.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.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008295/0.0008295, allocations: 95.38 kB / 17.3 MB, free: 6.395 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.0008157/0.0008158, allocations: 172.5 kB / 18.2 MB, free: 5.551 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.704/1.704, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0005523/0.0005523, allocations: 12.78 kB / 281.4 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1341, allocations: 47.58 MB / 329 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.004807/0.139, allocations: 3.663 MB / 332.6 MB, free: 76 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002131/0.1412, allocations: 0.9044 MB / 333.5 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002627/0.1415, allocations: 12 kB / 333.5 MB, free: 15.15 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002552/0.1418, allocations: 67.45 kB / 333.6 MB, free: 15.08 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003629/0.1421, allocations: 154.8 kB / 333.8 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003754/0.1425, allocations: 119.9 kB / 333.9 MB, free: 14.81 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000709/0.1432, allocations: 0.6458 MB / 334.5 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003455/0.1436, allocations: 167.9 kB / 334.7 MB, free: 14 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003278/0.1439, allocations: 230.9 kB / 334.9 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003925/0.1443, allocations: 258.7 kB / 335.2 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.133e-05/0.1444, allocations: 32 kB / 335.2 MB, free: 13.48 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.077e-05/0.1445, allocations: 32 kB / 335.2 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.1446, allocations: 103.5 kB / 335.3 MB, free: 13.35 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003379/0.145, allocations: 300.1 kB / 335.6 MB, free: 13.05 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006751/0.1457, allocations: 0.5955 MB / 336.2 MB, free: 12.45 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.1457, allocations: 4 kB / 336.2 MB, free: 12.45 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1457, allocations: 4 kB / 336.2 MB, free: 12.45 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.1457, allocations: 0 / 336.2 MB, free: 12.45 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001543/0.1473, allocations: 0.7833 MB / 337 MB, free: 11.61 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.169e-05/0.1473, allocations: 8.031 kB / 337 MB, free: 11.61 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.1475, allocations: 64.22 kB / 337.1 MB, free: 11.54 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005599/0.148, allocations: 375.6 kB / 337.4 MB, free: 11.13 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.006e-05/0.1481, allocations: 37.38 kB / 337.5 MB, free: 11.1 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.036e-05/0.1482, allocations: 52.28 kB / 337.5 MB, free: 11.05 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008652/0.149, allocations: 483.5 kB / 338 MB, free: 10.56 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.1491, allocations: 0 / 338 MB, free: 10.56 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.738e-05/0.1491, allocations: 20 kB / 338 MB, free: 10.54 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.1492, allocations: 16 kB / 338 MB, free: 10.53 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006719/0.1498, allocations: 340.3 kB / 338.4 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002771/0.1526, allocations: 1.72 MB / 340.1 MB, free: 8.379 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005243/0.1532, allocations: 269 kB / 340.4 MB, free: 8.098 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/0.1534, allocations: 149.6 kB / 340.5 MB, free: 7.945 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.1535, allocations: 4 kB / 340.5 MB, free: 7.941 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.259e-05/0.1535, allocations: 30.56 kB / 340.5 MB, free: 7.902 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 2.284e-06/0.1536, allocations: 4 kB / 340.5 MB, free: 7.898 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.002114/0.1557, allocations: 0.97 MB / 341.5 MB, free: 6.852 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.113e-05/0.1558, allocations: 81.11 kB / 341.6 MB, free: 6.754 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004898/0.1563, allocations: 389.6 kB / 342 MB, free: 6.363 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.1563, allocations: 29.7 kB / 342 MB, free: 6.328 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/0.1566, allocations: 295.4 kB / 342.3 MB, free: 6.035 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.1567, allocations: 114.3 kB / 342.4 MB, free: 5.922 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.488e-05/0.1568, allocations: 37.7 kB / 342.4 MB, free: 5.879 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002335/0.157, allocations: 350.7 kB / 342.8 MB, free: 5.527 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.1573, allocations: 108.8 kB / 342.9 MB, free: 5.418 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003761/0.1577, allocations: 198.6 kB / 343.1 MB, free: 5.188 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006341/0.1583, allocations: 314 kB / 343.4 MB, free: 4.844 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1583, allocations: 0 / 343.4 MB, free: 4.844 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00089/0.1592, allocations: 458.5 kB / 343.8 MB, free: 4.383 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.1593, allocations: 11.94 kB / 343.8 MB, free: 4.371 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.1593, allocations: 3.938 kB / 343.8 MB, free: 4.367 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004166/0.1597, allocations: 89.8 kB / 343.9 MB, free: 4.273 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003437/0.1601, allocations: 75.91 kB / 344 MB, free: 4.199 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002814/0.1629, allocations: 2.857 MB / 346.9 MB, free: 1.078 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003459/0.1632, allocations: 19.97 kB / 346.9 MB, free: 1.059 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.1633, allocations: 16 kB / 346.9 MB, free: 1.043 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003189/0.1636, allocations: 173.6 kB / 347.1 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.1637, allocations: 43.52 kB / 347.1 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.214e-05/0.1638, allocations: 43.47 kB / 347.2 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1638, allocations: 4 kB / 347.2 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/0.1638, allocations: 7.938 kB / 347.2 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1639, allocations: 4 kB / 347.2 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/0.1655, allocations: 0.9363 MB / 348.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.1655, allocations: 0 / 348.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.1657, allocations: 43.97 kB / 348.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002945/0.166, allocations: 89.58 kB / 348.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.1661, allocations: 4 kB / 348.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002652/0.1687, allocations: 2.865 MB / 351.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.1687, allocations: 3.984 kB / 351.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.1698, allocations: 0.6316 MB / 351.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.1699, allocations: 112.7 kB / 351.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.572e-05/0.17, allocations: 11.94 kB / 351.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003439/0.1703, allocations: 35.97 kB / 351.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.813e-05/0.1704, allocations: 23.97 kB / 351.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.1704, allocations: 8 kB / 351.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003277/0.1708, allocations: 271.2 kB / 352.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.22e-07/0.1708, allocations: 4 kB / 352.2 MB, free: 11.35 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006773/0.1715, allocations: 120 kB / 352.3 MB, free: 11.23 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002361/0.1717, allocations: 111.4 kB / 352.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.1728, allocations: 0.5166 MB / 352.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.1729, allocations: 0 / 352.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007116/0.1736, allocations: 401.7 kB / 353.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006574/0.1743, allocations: 58.36 kB / 353.4 MB, free: 10.1 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.1766, allocations: 1.229 MB / 354.6 MB, free: 8.848 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005034/0.1771, allocations: 0.8392 MB / 355.5 MB, free: 7.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002005/0.1774, allocations: 47.28 kB / 355.5 MB, free: 7.934 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.79e-05/0.1774, allocations: 27.44 kB / 355.5 MB, free: 7.906 MB / 302.1 MB Notification: Performance of SimCode: time 1.263e-06/0.1774, allocations: 0 / 355.5 MB, free: 7.906 MB / 302.1 MB Notification: Performance of Templates: time 0.01046/0.1879, allocations: 4.364 MB / 359.9 MB, free: 3.547 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches