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.000851/0.000851, allocations: 95.88 kB / 16.95 MB, free: 6.457 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.000932/0.000932, allocations: 182.5 kB / 17.84 MB, free: 6.008 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.549/1.549, allocations: 205.4 MB / 224 MB, free: 13.15 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.0004456/0.0004456, allocations: 8 kB / 280.8 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1114, allocations: 47.57 MB / 328.3 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.004052/0.1155, allocations: 3.475 MB / 331.8 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.1171, allocations: 0.8891 MB / 332.7 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002124/0.1174, allocations: 11.94 kB / 332.7 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002437/0.1176, allocations: 67.44 kB / 332.8 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000331/0.118, allocations: 150.8 kB / 332.9 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004262/0.1184, allocations: 99.81 kB / 333 MB, free: 15.37 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007133/0.1191, allocations: 0.6186 MB / 333.6 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003398/0.1195, allocations: 162.3 kB / 333.8 MB, free: 14.59 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003001/0.1198, allocations: 223.1 kB / 334 MB, free: 14.37 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003604/0.1201, allocations: 250.8 kB / 334.3 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.526e-05/0.1202, allocations: 32 kB / 334.3 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.584e-05/0.1203, allocations: 28 kB / 334.3 MB, free: 14.06 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.581e-05/0.1204, allocations: 95.55 kB / 334.4 MB, free: 13.97 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.1205, allocations: 133.4 kB / 334.6 MB, free: 13.83 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004327/0.121, allocations: 470.8 kB / 335 MB, free: 13.37 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.121, allocations: 4 kB / 335 MB, free: 13.37 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.121, allocations: 0 / 335 MB, free: 13.37 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.121, allocations: 0 / 335 MB, free: 13.37 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.001316/0.1223, allocations: 0.7909 MB / 335.8 MB, free: 12.53 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1224, allocations: 8.031 kB / 335.8 MB, free: 12.52 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.1225, allocations: 63.33 kB / 335.9 MB, free: 12.46 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000447/0.1229, allocations: 350.6 kB / 336.2 MB, free: 12.07 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.781e-05/0.123, allocations: 40.95 kB / 336.3 MB, free: 12.04 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.437e-05/0.1231, allocations: 55.84 kB / 336.3 MB, free: 11.98 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007979/0.1239, allocations: 479.2 kB / 336.8 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.1239, allocations: 4 kB / 336.8 MB, free: 11.49 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.495e-05/0.124, allocations: 20 kB / 336.8 MB, free: 11.47 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.124, allocations: 15.94 kB / 336.8 MB, free: 11.46 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006155/0.1246, allocations: 332.3 kB / 337.1 MB, free: 11.13 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002644/0.1273, allocations: 1.72 MB / 338.9 MB, free: 9.316 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000459/0.1277, allocations: 265.2 kB / 339.1 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/0.128, allocations: 145.6 kB / 339.3 MB, free: 8.891 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.128, allocations: 8 kB / 339.3 MB, free: 8.883 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.1281, allocations: 34.56 kB / 339.3 MB, free: 8.84 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.523e-06/0.1281, allocations: 4 kB / 339.3 MB, free: 8.836 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.001895/0.13, allocations: 0.9656 MB / 340.3 MB, free: 7.793 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.13, allocations: 81.11 kB / 340.4 MB, free: 7.695 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004194/0.1305, allocations: 381.7 kB / 340.7 MB, free: 7.312 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.1305, allocations: 33.7 kB / 340.8 MB, free: 7.273 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002505/0.1308, allocations: 291.4 kB / 341 MB, free: 6.98 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.905e-05/0.1309, allocations: 114.3 kB / 341.2 MB, free: 6.867 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.814e-05/0.1309, allocations: 12 kB / 341.2 MB, free: 6.855 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1311, allocations: 346.8 kB / 341.5 MB, free: 6.508 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.1313, allocations: 100.8 kB / 341.6 MB, free: 6.41 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.1315, allocations: 198.8 kB / 341.8 MB, free: 6.18 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.1318, allocations: 136.8 kB / 341.9 MB, free: 6.047 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1318, allocations: 0 / 341.9 MB, free: 6.047 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007753/0.1326, allocations: 457.1 kB / 342.4 MB, free: 5.59 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1326, allocations: 4 kB / 342.4 MB, free: 5.586 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.1326, allocations: 7.938 kB / 342.4 MB, free: 5.578 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003262/0.133, allocations: 93.58 kB / 342.5 MB, free: 5.48 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/0.1333, allocations: 75.89 kB / 342.6 MB, free: 5.406 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002539/0.1358, allocations: 2.849 MB / 345.4 MB, free: 2.293 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002543/0.1361, allocations: 27.92 kB / 345.4 MB, free: 2.266 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.1361, allocations: 16 kB / 345.5 MB, free: 2.25 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 (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.0002294/0.1364, allocations: 173.7 kB / 345.6 MB, free: 2.07 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.497e-05/0.1365, allocations: 39.53 kB / 345.7 MB, free: 2.031 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.976e-05/0.1365, allocations: 43.47 kB / 345.7 MB, free: 1.988 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1366, allocations: 4 kB / 345.7 MB, free: 1.984 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.1366, allocations: 0 / 345.7 MB, free: 1.984 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.1366, allocations: 3.984 kB / 345.7 MB, free: 1.98 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.138, allocations: 0.9395 MB / 346.6 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.138, allocations: 0 / 346.6 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.1382, allocations: 47.94 kB / 346.7 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002501/0.1384, allocations: 85.58 kB / 346.8 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/0.1385, allocations: 11.98 kB / 346.8 MB, free: 0.832 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002421/0.1409, allocations: 2.853 MB / 349.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.1409, allocations: 0 / 349.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009307/0.1418, allocations: 0.6285 MB / 350.3 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.142, allocations: 124.6 kB / 350.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.406e-05/0.142, allocations: 4 kB / 350.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003031/0.1423, allocations: 31.98 kB / 350.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.048e-05/0.1424, allocations: 31.95 kB / 350.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.1424, allocations: 12 kB / 350.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002946/0.1427, allocations: 267.2 kB / 350.7 MB, free: 12.58 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1427, allocations: 0 / 350.7 MB, free: 12.58 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006167/0.1434, allocations: 116 kB / 350.8 MB, free: 12.47 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.0001728/0.1435, allocations: 107.2 kB / 351 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009407/0.1445, allocations: 0.5209 MB / 351.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1445, allocations: 4.188 kB / 351.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005719/0.1451, allocations: 385.2 kB / 351.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005537/0.1457, allocations: 65.48 kB / 351.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.1474, allocations: 1.173 MB / 353.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.1478, allocations: 0.8353 MB / 353.9 MB, free: 9.266 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001719/0.148, allocations: 47.28 kB / 354 MB, free: 9.219 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.095e-05/0.1481, allocations: 31.44 kB / 354 MB, free: 9.188 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1481, allocations: 0 / 354 MB, free: 9.188 MB / 302.1 MB Notification: Performance of Templates: time 0.009052/0.1571, allocations: 4.232 MB / 358.2 MB, free: 4.961 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