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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001474/0.001474, allocations: 179.1 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.865/1.865, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009031/0.0009031, allocations: 82.72 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.481e-05/1.484e-05, allocations: 4 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09047/0.0905, allocations: 47.59 MB / 363.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3317/0.4223, allocations: 78.43 MB / 441.5 MB, free: 1.242 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001994/0.4225, allocations: 75.83 kB / 441.6 MB, free: 1.203 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02056/0.4431, allocations: 7.982 MB / 449.6 MB, free: 10.51 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4431, allocations: 4 kB / 449.6 MB, free: 10.51 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.394e-05/0.4432, allocations: 12 kB / 449.6 MB, free: 10.5 MB / 330.7 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.001173/0.4443, allocations: 0.7207 MB / 450.3 MB, free: 9.766 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.4444, allocations: 12.03 kB / 450.3 MB, free: 9.754 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.4445, allocations: 63.25 kB / 450.4 MB, free: 9.691 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004968/0.445, allocations: 352.1 kB / 450.7 MB, free: 9.348 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.4451, allocations: 20 kB / 450.7 MB, free: 9.328 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.234e-05/0.4452, allocations: 28 kB / 450.8 MB, free: 9.301 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004571/0.4456, allocations: 269.3 kB / 451 MB, free: 9.137 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005987/0.4462, allocations: 388.5 kB / 451.4 MB, free: 8.836 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.4463, allocations: 4.219 kB / 451.4 MB, free: 8.832 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.965e-05/0.4463, allocations: 0 / 451.4 MB, free: 8.832 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.4463, allocations: 15.94 kB / 451.4 MB, free: 8.816 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00244/0.4488, allocations: 1.617 MB / 453 MB, free: 7.375 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003344/0.4491, allocations: 236.1 kB / 453.3 MB, free: 7.199 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.4493, allocations: 121.5 kB / 453.4 MB, free: 7.113 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.4493, allocations: 4.312 kB / 453.4 MB, free: 7.109 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.4494, allocations: 42 kB / 453.4 MB, free: 7.062 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 1.694e-06/0.4494, allocations: 0 / 453.4 MB, free: 7.062 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.001301/0.4507, allocations: 0.7047 MB / 454.1 MB, free: 6.379 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.4507, allocations: 89.23 kB / 454.2 MB, free: 6.273 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003203/0.4511, allocations: 303.8 kB / 454.5 MB, free: 6.039 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.4511, allocations: 25.7 kB / 454.5 MB, free: 6.008 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.4513, allocations: 294.9 kB / 454.8 MB, free: 5.773 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.439e-05/0.4514, allocations: 108.5 kB / 454.9 MB, free: 5.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.366e-05/0.4514, allocations: 0 / 454.9 MB, free: 5.68 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.4515, allocations: 345.4 kB / 455.3 MB, free: 5.348 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.4517, allocations: 77.75 kB / 455.4 MB, free: 5.305 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.4519, allocations: 170.7 kB / 455.5 MB, free: 5.137 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.4521, allocations: 112 kB / 455.6 MB, free: 5.062 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4521, allocations: 0 / 455.6 MB, free: 5.062 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006396/0.4527, allocations: 375 kB / 456 MB, free: 4.758 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.4527, allocations: 12.06 kB / 456 MB, free: 4.746 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.4528, allocations: 7.953 kB / 456 MB, free: 4.738 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000311/0.4531, allocations: 74.55 kB / 456.1 MB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/0.4534, allocations: 87.27 kB / 456.2 MB, free: 4.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002617/0.456, allocations: 2.734 MB / 458.9 MB, free: 1.785 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003107/0.4564, allocations: 19.86 kB / 458.9 MB, free: 1.766 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/0.4564, allocations: 15.94 kB / 458.9 MB, free: 1.754 MB / 330.7 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.0001614/0.4566, allocations: 116.8 kB / 459.1 MB, free: 1.637 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/0.4568, allocations: 43.48 kB / 459.1 MB, free: 1.594 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.629e-05/0.4569, allocations: 40.42 kB / 459.1 MB, free: 1.566 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.4569, allocations: 4 kB / 459.1 MB, free: 1.562 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.4569, allocations: 4 kB / 459.1 MB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.457, allocations: 3.984 kB / 459.2 MB, free: 1.555 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.4583, allocations: 0.822 MB / 460 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.4583, allocations: 0 / 460 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.4585, allocations: 43.92 kB / 460 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003072/0.4588, allocations: 82.77 kB / 460.1 MB, free: 0.707 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/0.4589, allocations: 7.953 kB / 460.1 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002817/0.4617, allocations: 2.74 MB / 462.8 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.4617, allocations: 3.938 kB / 462.8 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007218/0.4625, allocations: 0.5564 MB / 463.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.4626, allocations: 119.7 kB / 463.5 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.894e-05/0.4626, allocations: 3.953 kB / 463.5 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003278/0.463, allocations: 27.98 kB / 463.6 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.315e-05/0.4631, allocations: 27.7 kB / 463.6 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.4631, allocations: 8 kB / 463.6 MB, free: 13.21 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002575/0.4634, allocations: 235.7 kB / 463.8 MB, free: 13.04 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4634, allocations: 0 / 463.8 MB, free: 13.04 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006059/0.464, allocations: 104 kB / 463.9 MB, free: 12.93 MB / 346.7 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.0001987/0.4642, allocations: 107.2 kB / 464 MB, free: 12.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007821/0.465, allocations: 471.4 kB / 464.5 MB, free: 12.41 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.465, allocations: 0 / 464.5 MB, free: 12.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005313/0.4655, allocations: 351.6 kB / 464.8 MB, free: 12.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.4659, allocations: 38.14 kB / 464.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.4675, allocations: 0.6945 MB / 465.6 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005007/0.468, allocations: 0.847 MB / 466.4 MB, free: 10.52 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002365/0.4682, allocations: 43.25 kB / 466.4 MB, free: 10.47 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.257e-05/0.4683, allocations: 30.44 kB / 466.5 MB, free: 10.45 MB / 346.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4683, allocations: 0 / 466.5 MB, free: 10.45 MB / 346.7 MB Notification: Performance of Templates: time 0.007799/0.4762, allocations: 3.631 MB / 470.1 MB, free: 6.824 MB / 346.7 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