Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 80.8 kB / 22.28 MB, free: 2.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 166.1 kB / 25.69 MB, free: 8.406 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.926/0.926, allocations: 158.6 MB / 187.6 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 251.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.998e-05, allocations: 10.25 kB / 251.6 MB, free: 7.207 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005413/0.005433, allocations: 4.255 MB / 255.8 MB, free: 2.93 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002941/0.008375, allocations: 1.637 MB / 257.5 MB, free: 1.273 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003628/0.008737, allocations: 11.94 kB / 257.5 MB, free: 1.262 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003394/0.009077, allocations: 126.7 kB / 257.6 MB, free: 1.137 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009195/0.009996, allocations: 373.3 kB / 258 MB, free: 0.7695 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004687/0.01047, allocations: 231.6 kB / 258.2 MB, free: 0.543 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001043/0.01151, allocations: 1.009 MB / 259.2 MB, free: 15.53 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002769/0.01178, allocations: 160 kB / 259.4 MB, free: 15.37 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007355/0.01252, allocations: 0.5574 MB / 259.9 MB, free: 14.81 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000486/0.01301, allocations: 339 kB / 260.2 MB, free: 14.48 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.01313, allocations: 96 kB / 260.3 MB, free: 14.38 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003797/0.01351, allocations: 215.9 kB / 260.6 MB, free: 14.17 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.01365, allocations: 199.3 kB / 260.7 MB, free: 13.98 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002568/0.01391, allocations: 295.3 kB / 261 MB, free: 13.69 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007962/0.01471, allocations: 0.7085 MB / 261.7 MB, free: 12.98 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.01471, allocations: 0 / 261.7 MB, free: 12.98 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.01471, allocations: 0 / 261.7 MB, free: 12.98 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.01472, allocations: 0 / 261.7 MB, free: 12.98 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001512/0.01623, allocations: 0.9978 MB / 262.7 MB, free: 11.95 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.01626, allocations: 11.98 kB / 262.8 MB, free: 11.94 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.0164, allocations: 96.86 kB / 262.8 MB, free: 11.84 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005102/0.01691, allocations: 330.3 kB / 263.2 MB, free: 11.49 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.01701, allocations: 123 kB / 263.3 MB, free: 11.36 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.01716, allocations: 68.73 kB / 263.4 MB, free: 11.29 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000653/0.01781, allocations: 0.5316 MB / 263.9 MB, free: 10.71 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.01784, allocations: 11.88 kB / 263.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.022e-05/0.01788, allocations: 20 kB / 263.9 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.01789, allocations: 12 kB / 263.9 MB, free: 10.67 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000337/0.01823, allocations: 194.3 kB / 264.1 MB, free: 10.48 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.01968, allocations: 1.502 MB / 265.6 MB, free: 8.906 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/0.01994, allocations: 237.2 kB / 265.9 MB, free: 8.656 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.02008, allocations: 114.1 kB / 266 MB, free: 8.539 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.0201, allocations: 11.94 kB / 266 MB, free: 8.527 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.02012, allocations: 50.5 kB / 266 MB, free: 8.469 MB / 250.7 MB Notification: Performance of pre-optimization done (n=45): time 1.423e-06/0.02012, allocations: 0 / 266 MB, free: 8.469 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.005248/0.02537, allocations: 2.496 MB / 268.5 MB, free: 5.941 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.02541, allocations: 89.55 kB / 268.6 MB, free: 5.836 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002744/0.02568, allocations: 416.8 kB / 269 MB, free: 5.418 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.02571, allocations: 41.7 kB / 269.1 MB, free: 5.371 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.02582, allocations: 269.8 kB / 269.3 MB, free: 5.102 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.02593, allocations: 222 kB / 269.5 MB, free: 4.883 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.02605, allocations: 110.2 kB / 269.6 MB, free: 4.77 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.846e-05/0.02615, allocations: 374.6 kB / 270 MB, free: 4.395 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.02625, allocations: 69.27 kB / 270.1 MB, free: 4.324 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.0264, allocations: 164.6 kB / 270.2 MB, free: 4.129 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.02668, allocations: 305.5 kB / 270.5 MB, free: 3.797 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.02669, allocations: 0 / 270.5 MB, free: 3.797 MB / 250.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0004008/0.02709, allocations: 345.9 kB / 270.9 MB, free: 3.449 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.0271, allocations: 4 kB / 270.9 MB, free: 3.445 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.02711, allocations: 4 kB / 270.9 MB, free: 3.441 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001287/0.02724, allocations: 45.14 kB / 270.9 MB, free: 3.395 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004266/0.02766, allocations: 195.6 kB / 271.1 MB, free: 3.203 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005534/0.02822, allocations: 1.194 MB / 272.3 MB, free: 1.926 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.02842, allocations: 39.92 kB / 272.4 MB, free: 1.887 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.02845, allocations: 19.98 kB / 272.4 MB, free: 1.867 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.02857, allocations: 141.7 kB / 272.5 MB, free: 1.719 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.968e-05/0.02865, allocations: 55.89 kB / 272.6 MB, free: 1.664 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004901/0.02914, allocations: 423.9 kB / 273 MB, free: 1.238 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.02914, allocations: 8 kB / 273 MB, free: 1.23 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.02914, allocations: 0 / 273 MB, free: 1.23 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.02915, allocations: 7.984 kB / 273 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.03035, allocations: 0.8916 MB / 273.9 MB, free: 312 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.03036, allocations: 7.984 kB / 273.9 MB, free: 304 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002735/0.03063, allocations: 127.7 kB / 274 MB, free: 176 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007891/0.03142, allocations: 316.5 kB / 274.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.03145, allocations: 15.98 kB / 274.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001812/0.03326, allocations: 1.978 MB / 276.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.03326, allocations: 4 kB / 276.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008482/0.03411, allocations: 0.7141 MB / 277 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.03423, allocations: 63.56 kB / 277.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.03428, allocations: 19.98 kB / 277.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.0345, allocations: 35.98 kB / 277.2 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.91e-05/0.03459, allocations: 48.56 kB / 277.2 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.03461, allocations: 15.98 kB / 277.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001566/0.03477, allocations: 191.5 kB / 277.4 MB, free: 12.67 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03477, allocations: 0 / 277.4 MB, free: 12.67 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004126/0.03518, allocations: 188.1 kB / 277.6 MB, free: 12.48 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002166/0.0354, allocations: 132.2 kB / 277.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004671/0.03587, allocations: 413.8 kB / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/0.03587, allocations: 4 kB / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003415/0.03622, allocations: 360.2 kB / 278.5 MB, free: 11.56 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004434/0.03666, allocations: 105.9 kB / 278.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.0384, allocations: 1.181 MB / 279.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.03851, allocations: 152.3 kB / 279.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000181/0.03869, allocations: 64.66 kB / 280 MB, free: 10.01 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/0.03894, allocations: 163.3 kB / 280.1 MB, free: 9.852 MB / 266.7 MB Notification: Performance of SimCode: time 7.72e-07/0.03895, allocations: 0 / 280.1 MB, free: 9.852 MB / 266.7 MB Notification: Performance of Templates: time 0.0118/0.05074, allocations: 10.48 MB / 290.6 MB, free: 15.41 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9670673818327487]