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.001875/0.001875, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.002137/0.002137, allocations: 168.5 kB / 25.03 MB, free: 8.41 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 1.397/1.397, allocations: 158.6 MB / 186.8 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] 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.703e-06/1.703e-06, allocations: 0 / 250.4 MB, free: 7.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.639e-05/3.809e-05, allocations: 2.312 kB / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.00713/0.007168, allocations: 4.242 MB / 254.6 MB, free: 3.578 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003555/0.01072, allocations: 1.594 MB / 256.2 MB, free: 1.969 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005414/0.01126, allocations: 11.94 kB / 256.2 MB, free: 1.957 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005021/0.01177, allocations: 130.7 kB / 256.3 MB, free: 1.828 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.01279, allocations: 381.4 kB / 256.7 MB, free: 1.453 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005069/0.0133, allocations: 223.6 kB / 256.9 MB, free: 1.234 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001215/0.01452, allocations: 1.005 MB / 257.9 MB, free: 228 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003273/0.01484, allocations: 150.1 kB / 258.1 MB, free: 72 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008157/0.01566, allocations: 0.5613 MB / 258.6 MB, free: 15.51 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005647/0.01622, allocations: 343.1 kB / 259 MB, free: 15.17 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001651/0.01639, allocations: 96 kB / 259.1 MB, free: 15.08 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004445/0.01683, allocations: 203.9 kB / 259.3 MB, free: 14.88 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002077/0.01704, allocations: 199.3 kB / 259.5 MB, free: 14.68 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003803/0.01742, allocations: 299.3 kB / 259.8 MB, free: 14.39 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001571/0.01899, allocations: 1.215 MB / 261 MB, free: 13.17 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.019, allocations: 0 / 261 MB, free: 13.17 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.019, allocations: 4 kB / 261 MB, free: 13.17 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.01901, allocations: 3.938 kB / 261 MB, free: 13.16 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.002713/0.02172, allocations: 1.185 MB / 262.2 MB, free: 11.94 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.02177, allocations: 11.98 kB / 262.2 MB, free: 11.93 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002571/0.02203, allocations: 132.4 kB / 262.3 MB, free: 11.8 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008514/0.02288, allocations: 467.4 kB / 262.8 MB, free: 11.32 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001497/0.02303, allocations: 123 kB / 262.9 MB, free: 11.18 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002392/0.02327, allocations: 72.73 kB / 263 MB, free: 11.11 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.0246, allocations: 0.7295 MB / 263.7 MB, free: 10.33 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/0.02463, allocations: 3.938 kB / 263.7 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.219e-05/0.02469, allocations: 24 kB / 263.7 MB, free: 10.3 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.02471, allocations: 12 kB / 263.7 MB, free: 10.29 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.02589, allocations: 0.5009 MB / 264.2 MB, free: 9.789 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004249/0.03014, allocations: 2.469 MB / 266.7 MB, free: 7.23 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.03119, allocations: 466.5 kB / 267.1 MB, free: 6.75 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005528/0.03174, allocations: 243.8 kB / 267.4 MB, free: 6.504 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.86e-05/0.03178, allocations: 15.94 kB / 267.4 MB, free: 6.488 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.715e-05/0.03183, allocations: 42.11 kB / 267.4 MB, free: 6.438 MB / 250.7 MB Notification: Performance of pre-optimization done (n=45): time 2.504e-06/0.03183, allocations: 0 / 267.4 MB, free: 6.438 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.01284/0.04467, allocations: 3.146 MB / 270.6 MB, free: 3.25 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.99e-05/0.04474, allocations: 81.61 kB / 270.7 MB, free: 3.152 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009097/0.04565, allocations: 0.6197 MB / 271.3 MB, free: 2.516 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.729e-05/0.04571, allocations: 37.7 kB / 271.3 MB, free: 2.473 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/0.04606, allocations: 391.5 kB / 271.7 MB, free: 2.082 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002718/0.04633, allocations: 242.1 kB / 271.9 MB, free: 1.844 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002727/0.04661, allocations: 140 kB / 272.1 MB, free: 1.699 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003902/0.047, allocations: 0.5742 MB / 272.7 MB, free: 1.113 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005877/0.04758, allocations: 241.2 kB / 272.9 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007263/0.04831, allocations: 383.7 kB / 273.3 MB, free: 468 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/0.04964, allocations: 0.653 MB / 273.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.04964, allocations: 0 / 273.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001717/0.05136, allocations: 0.7504 MB / 274.7 MB, free: 14.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.05138, allocations: 8 kB / 274.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.05139, allocations: 0 / 274.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003387/0.05173, allocations: 63.8 kB / 274.7 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008198/0.05255, allocations: 159.8 kB / 274.9 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/0.05423, allocations: 1.818 MB / 276.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005835/0.05481, allocations: 40.02 kB / 276.7 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.967e-05/0.05487, allocations: 23.98 kB / 276.8 MB, free: 12.75 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.0004163/0.05529, allocations: 256.4 kB / 277 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/0.05548, allocations: 83.61 kB / 277.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002017/0.0575, allocations: 0.8228 MB / 277.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.05751, allocations: 4 kB / 277.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.05751, allocations: 4 kB / 277.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.05752, allocations: 3.984 kB / 277.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004165/0.06169, allocations: 1.744 MB / 279.7 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.0617, allocations: 8 kB / 279.7 MB, free: 9.766 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005571/0.06225, allocations: 103.9 kB / 279.8 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002222/0.06447, allocations: 411.2 kB / 280.2 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.784e-05/0.06453, allocations: 16 kB / 280.2 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006218/0.07075, allocations: 3.591 MB / 283.8 MB, free: 5.535 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.07075, allocations: 4 kB / 283.8 MB, free: 5.531 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003352/0.0741, allocations: 1.475 MB / 285.3 MB, free: 4.031 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003931/0.0745, allocations: 123.5 kB / 285.4 MB, free: 3.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.287e-05/0.07459, allocations: 12 kB / 285.4 MB, free: 3.898 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005858/0.07518, allocations: 35.97 kB / 285.4 MB, free: 3.863 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.07535, allocations: 56.55 kB / 285.5 MB, free: 3.809 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.313e-05/0.0754, allocations: 16 kB / 285.5 MB, free: 3.793 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006043/0.076, allocations: 427 kB / 285.9 MB, free: 3.379 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.076, allocations: 4 kB / 285.9 MB, free: 3.375 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008188/0.07682, allocations: 183.9 kB / 286.1 MB, free: 3.195 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.0003568/0.07718, allocations: 151 kB / 286.3 MB, free: 3.039 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001852/0.07903, allocations: 0.7922 MB / 287.1 MB, free: 2.227 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.07903, allocations: 0 / 287.1 MB, free: 2.227 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.08011, allocations: 0.5964 MB / 287.7 MB, free: 1.613 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007205/0.08083, allocations: 93.7 kB / 287.7 MB, free: 1.523 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003105/0.08394, allocations: 1.381 MB / 289.1 MB, free: 104 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.08434, allocations: 303.1 kB / 289.4 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003329/0.08468, allocations: 64.66 kB / 289.5 MB, free: 15.7 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002119/0.08489, allocations: 56.41 kB / 289.5 MB, free: 15.65 MB / 282.7 MB Notification: Performance of SimCode: time 1.232e-06/0.08489, allocations: 0 / 289.5 MB, free: 15.65 MB / 282.7 MB Notification: Performance of Templates: time 0.02042/0.1053, allocations: 9.69 MB / 299.2 MB, free: 5.984 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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.964447904960252]