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.001307/0.001307, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001794/0.0031, allocations: 453.8 kB / 10.46 MB, free: 236 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.001079/0.001079, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001487/0.002566, allocations: 483.5 kB / 11.83 MB, free: 2.336 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.9532/0.9532, allocations: 158.6 MB / 171.2 MB, free: 2.496 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1781/1.131, allocations: 49.5 MB / 220.7 MB, free: 1.352 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.583e-06/1.583e-06, allocations: 0 / 222 MB, free: 72 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/1.99e-05, allocations: 6.312 kB / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.008829/0.008849, allocations: 4.267 MB / 226.3 MB, free: 11.77 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005656/0.01451, allocations: 1.652 MB / 227.9 MB, free: 10.1 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002738/0.01478, allocations: 11.94 kB / 227.9 MB, free: 10.09 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.01505, allocations: 118.8 kB / 228 MB, free: 9.973 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006774/0.01572, allocations: 381.3 kB / 228.4 MB, free: 9.598 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003723/0.0161, allocations: 227.6 kB / 228.6 MB, free: 9.375 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009169/0.01701, allocations: 0.9977 MB / 229.6 MB, free: 8.375 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.01727, allocations: 160 kB / 229.8 MB, free: 8.219 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007497/0.01802, allocations: 0.6617 MB / 230.4 MB, free: 7.555 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004353/0.01845, allocations: 335.1 kB / 230.8 MB, free: 7.227 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.01857, allocations: 96 kB / 230.9 MB, free: 7.133 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003855/0.01896, allocations: 215.9 kB / 231.1 MB, free: 6.922 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.0191, allocations: 147.6 kB / 231.2 MB, free: 6.777 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000247/0.01934, allocations: 239.6 kB / 231.5 MB, free: 6.543 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007346/0.02008, allocations: 0.6345 MB / 232.1 MB, free: 5.906 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.359e-05/0.02009, allocations: 0 / 232.1 MB, free: 5.906 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.02009, allocations: 0 / 232.1 MB, free: 5.906 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.02011, allocations: 4 kB / 232.1 MB, free: 5.902 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.00143/0.02154, allocations: 1.15 MB / 233.2 MB, free: 4.727 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.02158, allocations: 11.97 kB / 233.3 MB, free: 4.715 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.02171, allocations: 96.86 kB / 233.3 MB, free: 4.621 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004264/0.02213, allocations: 330.3 kB / 233.7 MB, free: 4.27 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.02225, allocations: 127 kB / 233.8 MB, free: 4.129 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.0224, allocations: 60.75 kB / 233.9 MB, free: 4.07 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000519/0.02291, allocations: 0.5471 MB / 234.4 MB, free: 3.477 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.02293, allocations: 3.938 kB / 234.4 MB, free: 3.473 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.418e-05/0.02297, allocations: 24 kB / 234.4 MB, free: 3.449 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.02298, allocations: 12 kB / 234.4 MB, free: 3.438 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002761/0.02325, allocations: 202.2 kB / 234.6 MB, free: 3.238 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0017/0.02495, allocations: 1.49 MB / 236.1 MB, free: 1.672 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003084/0.02526, allocations: 249.2 kB / 236.4 MB, free: 1.414 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.02541, allocations: 126 kB / 236.5 MB, free: 1.285 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.02543, allocations: 8 kB / 236.5 MB, free: 1.277 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.02546, allocations: 42.56 kB / 236.5 MB, free: 1.227 MB / 234.7 MB Notification: Performance of pre-optimization done (n=45): time 1.673e-06/0.02546, allocations: 0 / 236.5 MB, free: 1.227 MB / 234.7 MB Notification: Performance of matching and sorting (n=61): time 0.005331/0.0308, allocations: 2.523 MB / 239.1 MB, free: 14.67 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.03083, allocations: 81.61 kB / 239.1 MB, free: 14.57 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/0.03113, allocations: 420.8 kB / 239.6 MB, free: 14.14 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.518e-05/0.03116, allocations: 37.7 kB / 239.6 MB, free: 14.1 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.03128, allocations: 273.7 kB / 239.9 MB, free: 13.82 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.0314, allocations: 218.1 kB / 240.1 MB, free: 13.61 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.03152, allocations: 114.2 kB / 240.2 MB, free: 13.49 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.03164, allocations: 374.6 kB / 240.5 MB, free: 13.11 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.99e-05/0.03174, allocations: 69.27 kB / 240.6 MB, free: 13.05 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.03189, allocations: 168.5 kB / 240.8 MB, free: 12.85 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003321/0.03223, allocations: 310.1 kB / 241.1 MB, free: 12.52 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.03223, allocations: 4 kB / 241.1 MB, free: 12.51 MB / 250.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.000411/0.03264, allocations: 337.9 kB / 241.4 MB, free: 12.17 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.03265, allocations: 11.98 kB / 241.4 MB, free: 12.16 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.03266, allocations: 0 / 241.4 MB, free: 12.16 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001447/0.0328, allocations: 45.14 kB / 241.5 MB, free: 12.11 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004712/0.03328, allocations: 211.6 kB / 241.7 MB, free: 11.91 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006003/0.03388, allocations: 1.187 MB / 242.9 MB, free: 10.63 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.03409, allocations: 39.92 kB / 242.9 MB, free: 10.59 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.03411, allocations: 23.92 kB / 242.9 MB, free: 10.57 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.000131/0.03424, allocations: 141.7 kB / 243.1 MB, free: 10.42 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.916e-05/0.03432, allocations: 63.91 kB / 243.1 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005003/0.03482, allocations: 419.9 kB / 243.5 MB, free: 9.938 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.03483, allocations: 4 kB / 243.5 MB, free: 9.934 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.03483, allocations: 8 kB / 243.6 MB, free: 9.926 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.03484, allocations: 3.984 kB / 243.6 MB, free: 9.922 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.03607, allocations: 0.8955 MB / 244.5 MB, free: 8.996 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.03607, allocations: 4 kB / 244.5 MB, free: 8.992 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002934/0.03637, allocations: 139.8 kB / 244.6 MB, free: 8.855 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.03649, allocations: 59.61 kB / 244.6 MB, free: 8.797 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008289/0.03732, allocations: 348.4 kB / 245 MB, free: 8.453 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/0.03735, allocations: 12 kB / 245 MB, free: 8.441 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001756/0.0391, allocations: 1.994 MB / 247 MB, free: 6.371 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.0391, allocations: 0 / 247 MB, free: 6.371 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009261/0.04003, allocations: 0.7103 MB / 247.7 MB, free: 5.645 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.311e-05/0.04008, allocations: 15.98 kB / 247.7 MB, free: 5.629 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.04034, allocations: 32.03 kB / 247.8 MB, free: 5.598 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.128e-05/0.04043, allocations: 56.55 kB / 247.8 MB, free: 5.543 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.04045, allocations: 19.98 kB / 247.8 MB, free: 5.523 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001578/0.04061, allocations: 191.5 kB / 248 MB, free: 5.336 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04061, allocations: 0 / 248 MB, free: 5.336 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003812/0.04099, allocations: 184.1 kB / 248.2 MB, free: 5.156 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.0002109/0.0412, allocations: 128.2 kB / 248.3 MB, free: 5.02 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004437/0.04165, allocations: 417.9 kB / 248.7 MB, free: 4.594 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.637e-05/0.04166, allocations: 12 kB / 248.7 MB, free: 4.582 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003559/0.04202, allocations: 402.5 kB / 249.1 MB, free: 4.18 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006358/0.04266, allocations: 0.7115 MB / 249.8 MB, free: 3.348 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004367/0.04702, allocations: 1.269 MB / 251.1 MB, free: 2.039 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.04713, allocations: 156.3 kB / 251.3 MB, free: 1.859 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001792/0.04731, allocations: 64.67 kB / 251.3 MB, free: 1.793 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002463/0.04756, allocations: 155.3 kB / 251.5 MB, free: 1.641 MB / 250.7 MB Notification: Performance of SimCode: time 8.21e-07/0.04756, allocations: 0 / 251.5 MB, free: 1.641 MB / 250.7 MB Notification: Performance of Templates: time 0.01235/0.05991, allocations: 10.75 MB / 262.2 MB, free: 6.902 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0818608114495873]