Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002122/0.002127, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.041/2.041, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001125/0.001125, allocations: 82.48 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.933e-05/2.952e-05, allocations: 4 kB / 314.8 MB, free: 9.176 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3707, allocations: 47.56 MB / 362.3 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1297/0.5005, allocations: 78.2 MB / 440.5 MB, free: 8.117 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.5008, allocations: 66.08 kB / 440.6 MB, free: 8.055 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03632/0.5372, allocations: 7.988 MB / 448.6 MB, free: 92 kB / 331.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5372, allocations: 0 / 448.6 MB, free: 92 kB / 331.1 MB Notification: Performance of Transformations before backend: time 3.903e-05/0.5373, allocations: 16 kB / 448.6 MB, free: 76 kB / 331.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.001818/0.5391, allocations: 0.7196 MB / 449.3 MB, free: 15.31 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.767e-05/0.5392, allocations: 8.031 kB / 449.3 MB, free: 15.3 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000216/0.5394, allocations: 63.25 kB / 449.4 MB, free: 15.24 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007479/0.5402, allocations: 355.5 kB / 449.7 MB, free: 14.86 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/0.5403, allocations: 16.84 kB / 449.7 MB, free: 14.84 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.5404, allocations: 35.98 kB / 449.8 MB, free: 14.8 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008651/0.5413, allocations: 266.6 kB / 450 MB, free: 14.54 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.5423, allocations: 388.7 kB / 450.4 MB, free: 14.14 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.5423, allocations: 3.828 kB / 450.4 MB, free: 14.14 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.51e-05/0.5424, allocations: 4 kB / 450.4 MB, free: 14.14 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/0.5424, allocations: 12 kB / 450.4 MB, free: 14.13 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004524/0.547, allocations: 1.626 MB / 452.1 MB, free: 12.42 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006194/0.5477, allocations: 231.3 kB / 452.3 MB, free: 12.18 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/0.548, allocations: 123.1 kB / 452.4 MB, free: 12.05 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.548, allocations: 320 / 452.4 MB, free: 12.05 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.747e-05/0.5481, allocations: 42.5 kB / 452.5 MB, free: 12 MB / 347.1 MB Notification: Performance of pre-optimization done (n=31): time 2.314e-06/0.5481, allocations: 0 / 452.5 MB, free: 12 MB / 347.1 MB Notification: Performance of matching and sorting (n=32): time 0.002124/0.5502, allocations: 0.7083 MB / 453.2 MB, free: 11.23 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/0.5503, allocations: 85.11 kB / 453.2 MB, free: 11.13 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005585/0.5509, allocations: 298.4 kB / 453.5 MB, free: 10.84 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 5.316e-05/0.551, allocations: 29.7 kB / 453.6 MB, free: 10.8 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003114/0.5513, allocations: 345.7 kB / 453.9 MB, free: 10.46 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.5514, allocations: 106.5 kB / 454 MB, free: 10.36 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/0.5515, allocations: 0 / 454 MB, free: 10.36 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.5516, allocations: 326.8 kB / 454.3 MB, free: 10.03 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.5519, allocations: 76.88 kB / 454.4 MB, free: 9.957 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003329/0.5522, allocations: 166 kB / 454.6 MB, free: 9.754 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/0.5526, allocations: 108.8 kB / 454.7 MB, free: 9.648 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.5526, allocations: 4 kB / 454.7 MB, free: 9.645 MB / 347.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001141/0.5537, allocations: 356 kB / 455 MB, free: 9.289 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.5538, allocations: 8.297 kB / 455 MB, free: 9.281 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.5538, allocations: 11.95 kB / 455 MB, free: 9.27 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005136/0.5543, allocations: 77.67 kB / 455.1 MB, free: 9.188 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006252/0.555, allocations: 86.33 kB / 455.2 MB, free: 9.105 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003522/0.5585, allocations: 2.739 MB / 457.9 MB, free: 6.133 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006091/0.5592, allocations: 19.83 kB / 458 MB, free: 6.113 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.613e-05/0.5593, allocations: 20.12 kB / 458 MB, free: 6.094 MB / 347.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 () * 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.0001825/0.5595, allocations: 104.9 kB / 458.1 MB, free: 5.984 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.5596, allocations: 43.48 kB / 458.1 MB, free: 5.941 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.5598, allocations: 47.11 kB / 458.2 MB, free: 5.891 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.5598, allocations: 8.062 kB / 458.2 MB, free: 5.883 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.5598, allocations: 0 / 458.2 MB, free: 5.883 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/0.5598, allocations: 3.984 kB / 458.2 MB, free: 5.879 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002075/0.5619, allocations: 0.8096 MB / 459 MB, free: 5.02 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.437e-06/0.562, allocations: 3.984 kB / 459 MB, free: 5.016 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00038/0.5624, allocations: 51.92 kB / 459.1 MB, free: 4.965 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004728/0.5629, allocations: 85.55 kB / 459.1 MB, free: 4.875 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.061e-05/0.5629, allocations: 7.953 kB / 459.1 MB, free: 4.867 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003285/0.5662, allocations: 2.738 MB / 461.9 MB, free: 1.906 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.5663, allocations: 0 / 461.9 MB, free: 1.906 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.5676, allocations: 0.5601 MB / 462.4 MB, free: 1.316 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/0.5679, allocations: 116.7 kB / 462.6 MB, free: 1.184 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.246e-05/0.568, allocations: 3.953 kB / 462.6 MB, free: 1.18 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000586/0.5686, allocations: 31.98 kB / 462.6 MB, free: 1.148 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.5687, allocations: 19.95 kB / 462.6 MB, free: 1.129 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.394e-05/0.5688, allocations: 16 kB / 462.6 MB, free: 1.113 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0004273/0.5692, allocations: 236.6 kB / 462.9 MB, free: 0.8789 MB / 347.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.5692, allocations: 0 / 462.9 MB, free: 0.8789 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0008842/0.5701, allocations: 100 kB / 463 MB, free: 0.7812 MB / 347.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 () * 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.0002396/0.5704, allocations: 110.2 kB / 463.1 MB, free: 0.6641 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.5716, allocations: 468.1 kB / 463.5 MB, free: 192 kB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 1.257e-05/0.5717, allocations: 4 kB / 463.5 MB, free: 188 kB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008435/0.5725, allocations: 347.4 kB / 463.9 MB, free: 15.82 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006052/0.5732, allocations: 41.64 kB / 463.9 MB, free: 15.78 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.5754, allocations: 0.724 MB / 464.6 MB, free: 15.02 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005997/0.576, allocations: 0.8509 MB / 465.5 MB, free: 14.15 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/0.5762, allocations: 31.44 kB / 465.5 MB, free: 14.12 MB / 363.1 MB Notification: Performance of SimCode: time 1.272e-06/0.5763, allocations: 0 / 465.5 MB, free: 14.12 MB / 363.1 MB Notification: Performance of Templates: time 0.01835/0.5946, allocations: 8.335 MB / 473.8 MB, free: 5.812 MB / 363.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches