Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007764/0.0007764, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009669/0.001743, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006411/0.0006411, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008838/0.001525, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9801/0.9801, allocations: 173.4 MB / 185.8 MB, free: 8.984 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1034/1.084, allocations: 52.51 MB / 238.3 MB, free: 4.418 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 239.5 MB, free: 3.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.237e-05, allocations: 2.312 kB / 239.5 MB, free: 3.18 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.00421/0.004232, allocations: 4.335 MB / 243.9 MB, free: 14.82 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002247/0.006479, allocations: 1.612 MB / 245.5 MB, free: 13.2 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002747/0.006753, allocations: 11.94 kB / 245.5 MB, free: 13.19 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.006995, allocations: 126.8 kB / 245.6 MB, free: 13.06 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000562/0.007557, allocations: 369.3 kB / 246 MB, free: 12.7 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003065/0.007864, allocations: 235.6 kB / 246.2 MB, free: 12.47 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000836/0.0087, allocations: 1.002 MB / 247.2 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/0.00891, allocations: 156 kB / 247.4 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005818/0.009492, allocations: 0.6655 MB / 248 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000327/0.009819, allocations: 335.1 kB / 248.4 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.228e-05/0.009901, allocations: 92 kB / 248.4 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003047/0.01021, allocations: 223.9 kB / 248.7 MB, free: 10 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.05e-05/0.0103, allocations: 143.6 kB / 248.8 MB, free: 9.863 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.01047, allocations: 235.6 kB / 249 MB, free: 9.633 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006064/0.01108, allocations: 0.6345 MB / 249.7 MB, free: 8.996 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.534e-05/0.01109, allocations: 0 / 249.7 MB, free: 8.996 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.01109, allocations: 0 / 249.7 MB, free: 8.996 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.809e-05/0.01111, allocations: 0 / 249.7 MB, free: 8.996 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.001645/0.01276, allocations: 1.15 MB / 250.8 MB, free: 7.82 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.01279, allocations: 12.03 kB / 250.8 MB, free: 7.809 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.0129, allocations: 92.86 kB / 250.9 MB, free: 7.719 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003969/0.0133, allocations: 326.4 kB / 251.2 MB, free: 7.375 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.96e-05/0.0134, allocations: 131 kB / 251.4 MB, free: 7.227 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.01352, allocations: 64.73 kB / 251.4 MB, free: 7.164 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004556/0.01397, allocations: 0.5355 MB / 252 MB, free: 6.582 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.01399, allocations: 3.938 kB / 252 MB, free: 6.578 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.01402, allocations: 20 kB / 252 MB, free: 6.559 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.01403, allocations: 20 kB / 252 MB, free: 6.539 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002529/0.01428, allocations: 202.2 kB / 252.2 MB, free: 6.344 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.01583, allocations: 1.486 MB / 253.7 MB, free: 4.785 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003174/0.01615, allocations: 255.7 kB / 253.9 MB, free: 4.52 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.01629, allocations: 126 kB / 254.1 MB, free: 4.391 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.01631, allocations: 11.98 kB / 254.1 MB, free: 4.379 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.01634, allocations: 38.56 kB / 254.1 MB, free: 4.332 MB / 250.7 MB Notification: Performance of pre-optimization done (n=45): time 1.703e-06/0.01634, allocations: 0 / 254.1 MB, free: 4.332 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.00512/0.02146, allocations: 2.507 MB / 256.6 MB, free: 1.793 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.0215, allocations: 85.61 kB / 256.7 MB, free: 1.691 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004601/0.02196, allocations: 412.8 kB / 257.1 MB, free: 1.273 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.02199, allocations: 33.7 kB / 257.1 MB, free: 1.234 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.0221, allocations: 273.7 kB / 257.4 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.0222, allocations: 226.1 kB / 257.6 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.02231, allocations: 106.3 kB / 257.7 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.182e-05/0.0224, allocations: 378.6 kB / 258.1 MB, free: 256 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.247e-05/0.0225, allocations: 65.27 kB / 258.2 MB, free: 188 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.02264, allocations: 172.5 kB / 258.3 MB, free: 15.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002665/0.02291, allocations: 301.6 kB / 258.6 MB, free: 15.65 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.02291, allocations: 4 kB / 258.6 MB, free: 15.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0003702/0.02328, allocations: 341.9 kB / 259 MB, free: 15.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.0233, allocations: 6.812 kB / 259 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.02331, allocations: 8 kB / 259 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001367/0.02344, allocations: 44.77 kB / 259 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004668/0.02391, allocations: 211.6 kB / 259.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005756/0.02449, allocations: 1.194 MB / 260.4 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.02469, allocations: 39.88 kB / 260.5 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.02472, allocations: 19.98 kB / 260.5 MB, free: 13.7 MB / 266.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.0001339/0.02485, allocations: 145.8 kB / 260.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.864e-05/0.02493, allocations: 59.89 kB / 260.7 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004902/0.02542, allocations: 423.8 kB / 261.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.02543, allocations: 11.98 kB / 261.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.02543, allocations: 0 / 261.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.02543, allocations: 4 kB / 261.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.02668, allocations: 0.8955 MB / 262 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.02668, allocations: 0 / 262 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003128/0.027, allocations: 135.8 kB / 262.1 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.02713, allocations: 59.61 kB / 262.2 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007675/0.02789, allocations: 320.5 kB / 262.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.02792, allocations: 19.92 kB / 262.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/0.02978, allocations: 1.981 MB / 264.5 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.02978, allocations: 4 kB / 264.5 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007838/0.03057, allocations: 0.7064 MB / 265.2 MB, free: 8.805 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.03e-05/0.03062, allocations: 12 kB / 265.2 MB, free: 8.793 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/0.03084, allocations: 27.98 kB / 265.3 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.906e-05/0.03092, allocations: 60.48 kB / 265.3 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.03094, allocations: 12 kB / 265.3 MB, free: 8.691 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001502/0.03109, allocations: 191.5 kB / 265.5 MB, free: 8.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03109, allocations: 0 / 265.5 MB, free: 8.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004224/0.03151, allocations: 184.1 kB / 265.7 MB, free: 8.32 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.0001974/0.03171, allocations: 140.2 kB / 265.8 MB, free: 8.176 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004433/0.03215, allocations: 418.1 kB / 266.3 MB, free: 7.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.609e-05/0.03217, allocations: 11.98 kB / 266.3 MB, free: 7.738 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003065/0.03247, allocations: 372.6 kB / 266.6 MB, free: 7.359 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.03283, allocations: 145.7 kB / 266.8 MB, free: 7.219 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004496/0.03733, allocations: 1.275 MB / 268 MB, free: 5.906 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.03743, allocations: 148.4 kB / 268.2 MB, free: 5.742 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001945/0.03763, allocations: 68.66 kB / 268.3 MB, free: 5.672 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002422/0.03787, allocations: 151.3 kB / 268.4 MB, free: 5.523 MB / 266.7 MB Notification: Performance of SimCode: time 6.72e-07/0.03787, allocations: 0 / 268.4 MB, free: 5.523 MB / 266.7 MB Notification: Performance of Templates: time 0.1058/0.1437, allocations: 10.73 MB / 279.1 MB, free: 26.18 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.794402894563973]