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.001406/0.001406, allocations: 108.4 kB / 18.36 MB, free: 4.637 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.0013/0.0013, allocations: 191 kB / 19.29 MB, free: 3.715 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.566/1.566, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001318/0.001318, allocations: 47.92 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1285, allocations: 46.62 MB / 328.7 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.00565/0.1342, allocations: 4.045 MB / 332.8 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.136, allocations: 0.9161 MB / 333.7 MB, free: 14.76 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002371/0.1363, allocations: 11.94 kB / 333.7 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002941/0.1366, allocations: 91.06 kB / 333.8 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003512/0.137, allocations: 170.4 kB / 334 MB, free: 14.49 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003786/0.1374, allocations: 147.8 kB / 334.1 MB, free: 14.35 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006199/0.138, allocations: 0.677 MB / 334.8 MB, free: 13.67 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003251/0.1383, allocations: 203 kB / 335 MB, free: 13.47 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/0.1386, allocations: 262.9 kB / 335.2 MB, free: 13.21 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003069/0.1389, allocations: 282.7 kB / 335.5 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.042e-05/0.139, allocations: 56 kB / 335.6 MB, free: 12.88 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.543e-05/0.1391, allocations: 56 kB / 335.6 MB, free: 12.82 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.1392, allocations: 135.5 kB / 335.7 MB, free: 12.69 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002487/0.1394, allocations: 298.5 kB / 336 MB, free: 12.4 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005722/0.14, allocations: 0.6499 MB / 336.7 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.14, allocations: 0 / 336.7 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.14, allocations: 0 / 336.7 MB, free: 11.75 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.1401, allocations: 0 / 336.7 MB, free: 11.75 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.001557/0.1416, allocations: 0.8495 MB / 337.5 MB, free: 10.84 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.1417, allocations: 15.89 kB / 337.6 MB, free: 10.83 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.1418, allocations: 64.19 kB / 337.6 MB, free: 10.77 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005927/0.1424, allocations: 375.6 kB / 338 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.405e-05/0.1425, allocations: 37.38 kB / 338 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.391e-05/0.1425, allocations: 48.38 kB / 338.1 MB, free: 10.27 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000711/0.1433, allocations: 483.5 kB / 338.5 MB, free: 9.785 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1433, allocations: 0 / 338.5 MB, free: 9.785 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.084e-05/0.1433, allocations: 16 kB / 338.6 MB, free: 9.77 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.1433, allocations: 12 kB / 338.6 MB, free: 9.758 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005804/0.1439, allocations: 340.3 kB / 338.9 MB, free: 9.426 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002524/0.1465, allocations: 1.685 MB / 340.6 MB, free: 7.645 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004476/0.1469, allocations: 269.1 kB / 340.8 MB, free: 7.363 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.1472, allocations: 149.8 kB / 341 MB, free: 7.211 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.1472, allocations: 7.906 kB / 341 MB, free: 7.203 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.1472, allocations: 38.55 kB / 341 MB, free: 7.156 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.473e-06/0.1472, allocations: 4 kB / 341 MB, free: 7.152 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.001875/0.1491, allocations: 0.9343 MB / 342 MB, free: 6.141 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.1492, allocations: 89.09 kB / 342.1 MB, free: 6.035 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004322/0.1496, allocations: 381.6 kB / 342.4 MB, free: 5.652 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.1497, allocations: 33.7 kB / 342.5 MB, free: 5.613 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.1499, allocations: 279.5 kB / 342.7 MB, free: 5.336 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.014e-05/0.15, allocations: 122.3 kB / 342.9 MB, free: 5.215 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.1501, allocations: 81.97 kB / 342.9 MB, free: 5.125 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1502, allocations: 354.7 kB / 343.3 MB, free: 4.77 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.1504, allocations: 100.8 kB / 343.4 MB, free: 4.672 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/0.1507, allocations: 186.6 kB / 343.6 MB, free: 4.453 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004526/0.1511, allocations: 310.3 kB / 343.9 MB, free: 4.113 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1511, allocations: 0 / 343.9 MB, free: 4.113 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007612/0.1519, allocations: 454.4 kB / 344.3 MB, free: 3.656 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.1519, allocations: 4 kB / 344.3 MB, free: 3.652 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.152, allocations: 7.984 kB / 344.3 MB, free: 3.645 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003342/0.1523, allocations: 85.75 kB / 344.4 MB, free: 3.555 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000307/0.1526, allocations: 79.89 kB / 344.5 MB, free: 3.477 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/0.1551, allocations: 3.127 MB / 347.6 MB, free: 76 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002821/0.1554, allocations: 12 kB / 347.6 MB, free: 64 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.1554, allocations: 16 kB / 347.6 MB, free: 48 kB / 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.0002363/0.1556, allocations: 169.7 kB / 347.8 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.864e-05/0.1557, allocations: 39.53 kB / 347.8 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.94e-05/0.1558, allocations: 47.45 kB / 347.9 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.1558, allocations: 4 kB / 347.9 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/0.1559, allocations: 7.938 kB / 347.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-06/0.1559, allocations: 0 / 347.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.1573, allocations: 0.9361 MB / 348.8 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1573, allocations: 0 / 348.8 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.1575, allocations: 47.91 kB / 348.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002677/0.1578, allocations: 93.56 kB / 349 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.1578, allocations: 4 kB / 349 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002567/0.1604, allocations: 3.131 MB / 352.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1604, allocations: 0 / 352.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009532/0.1613, allocations: 0.6136 MB / 352.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.1614, allocations: 108.6 kB / 352.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.585e-05/0.1615, allocations: 11.94 kB / 352.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/0.1619, allocations: 31.98 kB / 352.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.833e-05/0.1619, allocations: 23.95 kB / 352.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.162, allocations: 12 kB / 352.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002932/0.1623, allocations: 267.2 kB / 353.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1623, allocations: 4 kB / 353.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006042/0.1629, allocations: 120 kB / 353.3 MB, free: 9.996 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.0001741/0.1631, allocations: 115.7 kB / 353.4 MB, free: 9.875 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009758/0.1641, allocations: 0.5168 MB / 353.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.1641, allocations: 0 / 353.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000598/0.1647, allocations: 381.2 kB / 354.3 MB, free: 8.934 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005278/0.1652, allocations: 69.86 kB / 354.4 MB, free: 8.867 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.167, allocations: 0.9509 MB / 355.3 MB, free: 7.883 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004688/0.1675, allocations: 0.8353 MB / 356.1 MB, free: 7.02 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001773/0.1677, allocations: 47.22 kB / 356.2 MB, free: 6.973 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.082e-05/0.1678, allocations: 35.44 kB / 356.2 MB, free: 6.938 MB / 302.1 MB Notification: Performance of SimCode: time 9.52e-07/0.1678, allocations: 0 / 356.2 MB, free: 6.938 MB / 302.1 MB Notification: Performance of Templates: time 0.01019/0.178, allocations: 4.658 MB / 360.9 MB, free: 2.281 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches