Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001333/0.001333, allocations: 91.73 kB / 16.3 MB, free: 6.453 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.001727/0.001727, allocations: 185.4 kB / 17.2 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 223.2 MB / 241.1 MB, free: 5.449 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000267/0.0002671, allocations: 10.38 kB / 300.7 MB, free: 5.988 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1265, allocations: 50.42 MB / 351.1 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.004651/0.1312, allocations: 3.274 MB / 354.4 MB, free: 8.461 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002349/0.1336, allocations: 0.8886 MB / 355.3 MB, free: 7.566 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005155/0.1342, allocations: 11.94 kB / 355.3 MB, free: 7.555 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001997/0.1344, allocations: 63.5 kB / 355.4 MB, free: 7.492 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008167/0.1352, allocations: 207.4 kB / 355.6 MB, free: 7.289 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006047/0.1359, allocations: 95.88 kB / 355.7 MB, free: 7.195 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008499/0.1367, allocations: 463.4 kB / 356.1 MB, free: 6.742 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004374/0.1372, allocations: 154.3 kB / 356.3 MB, free: 6.582 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003622/0.1376, allocations: 223.1 kB / 356.5 MB, free: 6.363 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004101/0.138, allocations: 250.9 kB / 356.7 MB, free: 6.117 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.607e-05/0.1381, allocations: 32 kB / 356.8 MB, free: 6.086 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.603e-05/0.1382, allocations: 32 kB / 356.8 MB, free: 6.055 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.1383, allocations: 95.64 kB / 356.9 MB, free: 5.961 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.1385, allocations: 125.4 kB / 357 MB, free: 5.832 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005893/0.1391, allocations: 466.6 kB / 357.5 MB, free: 5.375 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1391, allocations: 4 kB / 357.5 MB, free: 5.371 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.1391, allocations: 0 / 357.5 MB, free: 5.371 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.1391, allocations: 4 kB / 357.5 MB, free: 5.367 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.001867/0.141, allocations: 0.787 MB / 358.3 MB, free: 4.531 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.192e-05/0.1411, allocations: 8.031 kB / 358.3 MB, free: 4.523 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002293/0.1413, allocations: 63.3 kB / 358.3 MB, free: 4.461 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000671/0.142, allocations: 346.7 kB / 358.7 MB, free: 4.082 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.334e-05/0.1421, allocations: 41 kB / 358.7 MB, free: 4.043 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.1422, allocations: 51.91 kB / 358.8 MB, free: 3.992 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.1433, allocations: 483.1 kB / 359.2 MB, free: 3.508 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.1434, allocations: 0 / 359.2 MB, free: 3.508 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.449e-05/0.1434, allocations: 20 kB / 359.3 MB, free: 3.488 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.1434, allocations: 12 kB / 359.3 MB, free: 3.477 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008626/0.1443, allocations: 344.2 kB / 359.6 MB, free: 3.141 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003694/0.148, allocations: 1.717 MB / 361.3 MB, free: 1.324 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006246/0.1487, allocations: 269 kB / 361.6 MB, free: 1.043 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/0.1487, allocations: 12 kB / 361.6 MB, free: 1.031 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.437e-05/0.1488, allocations: 34.56 kB / 361.6 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 2.004e-06/0.1488, allocations: 0 / 361.6 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.002601/0.1514, allocations: 0.9685 MB / 362.6 MB, free: 15.94 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/0.1515, allocations: 77.11 kB / 362.7 MB, free: 15.85 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005668/0.152, allocations: 393.5 kB / 363.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/0.1521, allocations: 33.7 kB / 363.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002515/0.1524, allocations: 291.4 kB / 363.4 MB, free: 15.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.1525, allocations: 110.4 kB / 363.5 MB, free: 15.01 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-05/0.1525, allocations: 8 kB / 363.5 MB, free: 15 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.1527, allocations: 350.8 kB / 363.8 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002865/0.153, allocations: 104.8 kB / 363.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003809/0.1534, allocations: 194.8 kB / 364.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.1538, allocations: 133.3 kB / 364.3 MB, free: 14.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1538, allocations: 0 / 364.3 MB, free: 14.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001129/0.1549, allocations: 455 kB / 364.7 MB, free: 13.74 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/0.155, allocations: 8 kB / 364.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.155, allocations: 3.984 kB / 364.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004742/0.1555, allocations: 85.81 kB / 364.8 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004776/0.156, allocations: 79.89 kB / 364.9 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00301/0.159, allocations: 2.873 MB / 367.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004029/0.1594, allocations: 19.94 kB / 367.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.87e-05/0.1594, allocations: 16 kB / 367.8 MB, free: 10.38 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000264/0.1597, allocations: 165.8 kB / 367.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.1599, allocations: 43.44 kB / 368 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.89e-05/0.16, allocations: 43.45 kB / 368 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.16, allocations: 7.984 kB / 368 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.16, allocations: 4 kB / 368 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.16, allocations: 3.953 kB / 368 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.1618, allocations: 0.9386 MB / 369 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.1618, allocations: 4 kB / 369 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002578/0.1621, allocations: 56.28 kB / 369 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003352/0.1625, allocations: 81.64 kB / 369.1 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.1625, allocations: 8 kB / 369.1 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002974/0.1655, allocations: 2.869 MB / 372 MB, free: 5.824 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.1655, allocations: 4.031 kB / 372 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.1669, allocations: 0.6349 MB / 372.6 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.167, allocations: 112.7 kB / 372.7 MB, free: 5.027 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.204e-05/0.1671, allocations: 11.98 kB / 372.8 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005337/0.1677, allocations: 35.98 kB / 372.8 MB, free: 4.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.1678, allocations: 31.86 kB / 372.8 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/0.1678, allocations: 20.02 kB / 372.8 MB, free: 4.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004061/0.1682, allocations: 267.2 kB / 373.1 MB, free: 4.672 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1683, allocations: 0 / 373.1 MB, free: 4.672 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009342/0.1692, allocations: 116 kB / 373.2 MB, free: 4.559 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002092/0.1694, allocations: 122.6 kB / 373.3 MB, free: 4.434 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.1705, allocations: 0.5089 MB / 373.8 MB, free: 3.898 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.1705, allocations: 0 / 373.8 MB, free: 3.898 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005709/0.1711, allocations: 397.7 kB / 374.2 MB, free: 3.484 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.1715, allocations: 53.53 kB / 374.3 MB, free: 3.434 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.1731, allocations: 1.161 MB / 375.4 MB, free: 2.242 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.1735, allocations: 0.8431 MB / 376.3 MB, free: 1.371 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001657/0.1737, allocations: 51.22 kB / 376.3 MB, free: 1.316 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.126e-05/0.1738, allocations: 27.44 kB / 376.4 MB, free: 1.289 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1738, allocations: 4 kB / 376.4 MB, free: 1.285 MB / 302.1 MB Notification: Performance of Templates: time 0.008553/0.1823, allocations: 4.223 MB / 380.6 MB, free: 13.11 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches