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.0008386/0.0008386, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001309/0.002147, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001268/0.001268, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001584/0.002852, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.9802/0.9802, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1535/1.134, allocations: 49.48 MB / 220.5 MB, free: 1.445 MB / 218.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.523e-06/1.523e-06, allocations: 0 / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.474e-05, allocations: 2.312 kB / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.006108/0.006133, allocations: 4.269 MB / 226.1 MB, free: 11.87 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003695/0.009828, allocations: 1.649 MB / 227.8 MB, free: 10.21 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005626/0.01039, allocations: 11.94 kB / 227.8 MB, free: 10.2 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003718/0.01076, allocations: 118.8 kB / 227.9 MB, free: 10.08 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001016/0.01178, allocations: 381.3 kB / 228.3 MB, free: 9.707 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005072/0.01229, allocations: 223.6 kB / 228.5 MB, free: 9.488 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001194/0.01348, allocations: 1.002 MB / 229.5 MB, free: 8.484 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003097/0.01379, allocations: 160 kB / 229.6 MB, free: 8.328 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009496/0.01474, allocations: 0.6616 MB / 230.3 MB, free: 7.664 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005196/0.01526, allocations: 339.1 kB / 230.6 MB, free: 7.332 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001495/0.01541, allocations: 96 kB / 230.7 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006184/0.01603, allocations: 215.9 kB / 230.9 MB, free: 7.027 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.01617, allocations: 143.6 kB / 231.1 MB, free: 6.887 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002885/0.01646, allocations: 239.6 kB / 231.3 MB, free: 6.652 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008011/0.01726, allocations: 0.6345 MB / 231.9 MB, free: 6.016 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.68e-05/0.01728, allocations: 0 / 231.9 MB, free: 6.016 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.01728, allocations: 4 kB / 231.9 MB, free: 6.012 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.107e-05/0.0173, allocations: 0 / 231.9 MB, free: 6.012 MB / 234.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.001781/0.01908, allocations: 1.15 MB / 233.1 MB, free: 4.836 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.01912, allocations: 8.031 kB / 233.1 MB, free: 4.828 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.01926, allocations: 96.86 kB / 233.2 MB, free: 4.734 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005252/0.01978, allocations: 326.3 kB / 233.5 MB, free: 4.387 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.01989, allocations: 123 kB / 233.6 MB, free: 4.25 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.02004, allocations: 68.73 kB / 233.7 MB, free: 4.184 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005809/0.02062, allocations: 0.5393 MB / 234.2 MB, free: 3.598 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.02064, allocations: 3.938 kB / 234.2 MB, free: 3.594 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.424e-05/0.02068, allocations: 28 kB / 234.3 MB, free: 3.566 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.02069, allocations: 15.94 kB / 234.3 MB, free: 3.551 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005428/0.02123, allocations: 198.2 kB / 234.5 MB, free: 3.355 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.02283, allocations: 1.498 MB / 236 MB, free: 1.785 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.02311, allocations: 245.1 kB / 236.2 MB, free: 1.527 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.02325, allocations: 114.1 kB / 236.3 MB, free: 1.41 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.02327, allocations: 15.94 kB / 236.3 MB, free: 1.395 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.0233, allocations: 38.56 kB / 236.4 MB, free: 1.348 MB / 234.7 MB Notification: Performance of pre-optimization done (n=45): time 1.863e-06/0.0233, allocations: 0 / 236.4 MB, free: 1.348 MB / 234.7 MB Notification: Performance of matching and sorting (n=61): time 0.005236/0.02854, allocations: 2.506 MB / 238.9 MB, free: 14.81 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.02857, allocations: 89.55 kB / 239 MB, free: 14.7 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003024/0.02888, allocations: 416.8 kB / 239.4 MB, free: 14.28 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.02891, allocations: 37.7 kB / 239.4 MB, free: 14.23 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.02902, allocations: 265.8 kB / 239.7 MB, free: 13.97 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.02914, allocations: 218.1 kB / 239.9 MB, free: 13.75 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.02925, allocations: 118.2 kB / 240 MB, free: 13.63 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.02937, allocations: 374.6 kB / 240.4 MB, free: 13.25 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.879e-05/0.02947, allocations: 65.28 kB / 240.4 MB, free: 13.19 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.02962, allocations: 176.5 kB / 240.6 MB, free: 12.98 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.02989, allocations: 297.5 kB / 240.9 MB, free: 12.66 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.0299, allocations: 4 kB / 240.9 MB, free: 12.65 MB / 250.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0003761/0.03027, allocations: 341.9 kB / 241.2 MB, free: 12.31 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.0303, allocations: 8 kB / 241.2 MB, free: 12.3 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.0303, allocations: 0 / 241.2 MB, free: 12.3 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001453/0.03045, allocations: 49.12 kB / 241.3 MB, free: 12.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000724/0.03117, allocations: 207.6 kB / 241.5 MB, free: 12.05 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005847/0.03176, allocations: 1.187 MB / 242.7 MB, free: 10.78 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.03197, allocations: 35.94 kB / 242.7 MB, free: 10.74 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/0.03199, allocations: 23.97 kB / 242.7 MB, free: 10.72 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.0001402/0.03214, allocations: 145.7 kB / 242.9 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.711e-05/0.03221, allocations: 63.86 kB / 242.9 MB, free: 10.5 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004926/0.0327, allocations: 415.9 kB / 243.3 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.03271, allocations: 8 kB / 243.4 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.03271, allocations: 0 / 243.4 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.03272, allocations: 11.98 kB / 243.4 MB, free: 10.07 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.03396, allocations: 0.9033 MB / 244.3 MB, free: 9.141 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.03396, allocations: 0 / 244.3 MB, free: 9.141 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002889/0.03425, allocations: 143.8 kB / 244.4 MB, free: 9 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.03438, allocations: 63.59 kB / 244.5 MB, free: 8.938 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007476/0.03513, allocations: 316.4 kB / 244.8 MB, free: 8.625 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.03515, allocations: 12 kB / 244.8 MB, free: 8.613 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001789/0.03694, allocations: 2 MB / 246.8 MB, free: 6.535 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.03694, allocations: 0 / 246.8 MB, free: 6.535 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009002/0.03784, allocations: 0.7141 MB / 247.5 MB, free: 5.801 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.385e-05/0.0379, allocations: 15.98 kB / 247.5 MB, free: 5.785 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.03812, allocations: 32.03 kB / 247.6 MB, free: 5.754 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.371e-05/0.0382, allocations: 52.55 kB / 247.6 MB, free: 5.703 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.03823, allocations: 15.98 kB / 247.6 MB, free: 5.688 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001582/0.03839, allocations: 191.5 kB / 247.8 MB, free: 5.5 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03839, allocations: 0 / 247.8 MB, free: 5.5 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004725/0.03886, allocations: 184.1 kB / 248 MB, free: 5.32 MB / 250.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.0002097/0.03907, allocations: 124.2 kB / 248.1 MB, free: 5.188 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004986/0.03957, allocations: 421.7 kB / 248.5 MB, free: 4.766 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.577e-05/0.03958, allocations: 8 kB / 248.5 MB, free: 4.758 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006587/0.04024, allocations: 360.2 kB / 248.9 MB, free: 4.391 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.0406, allocations: 150 kB / 249 MB, free: 4.246 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004468/0.04507, allocations: 1.265 MB / 250.3 MB, free: 2.945 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.04519, allocations: 156.3 kB / 250.4 MB, free: 2.766 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0002069/0.04539, allocations: 68.64 kB / 250.5 MB, free: 2.695 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002352/0.04563, allocations: 155.3 kB / 250.7 MB, free: 2.543 MB / 250.7 MB Notification: Performance of SimCode: time 1.423e-06/0.04563, allocations: 0 / 250.7 MB, free: 2.543 MB / 250.7 MB Notification: Performance of Templates: time 0.01317/0.0588, allocations: 10.74 MB / 261.4 MB, free: 7.812 MB / 266.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 -emit_protected -ignoreHideResult -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.8548098150640726]