Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.001787/0.001787, allocations: 92.33 kB / 21.73 MB, free: 2.68 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.002045/0.002045, allocations: 167 kB / 25.02 MB, free: 9.438 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.387/1.387, allocations: 158.6 MB / 186.8 MB, free: 2.902 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.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 250.4 MB, free: 3.934 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.897e-05/3.055e-05, allocations: 6.312 kB / 250.4 MB, free: 3.926 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.007215/0.007246, allocations: 3.096 MB / 253.5 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004567/0.01181, allocations: 1.368 MB / 254.8 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000279/0.01209, allocations: 4 kB / 254.8 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005849/0.01794, allocations: 2.678 MB / 257.5 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000925/0.01887, allocations: 174.6 kB / 257.7 MB, free: 12.57 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.02013, allocations: 291.2 kB / 258 MB, free: 12.29 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003703/0.02383, allocations: 1.817 MB / 259.8 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003634/0.0242, allocations: 91.69 kB / 259.9 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.02524, allocations: 413.1 kB / 260.3 MB, free: 9.969 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000729/0.02596, allocations: 295.2 kB / 260.6 MB, free: 9.68 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001512/0.02612, allocations: 44 kB / 260.6 MB, free: 9.637 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00031/0.02643, allocations: 83.92 kB / 260.7 MB, free: 9.555 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001323/0.02775, allocations: 0.8532 MB / 261.5 MB, free: 8.699 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009451/0.02869, allocations: 474.1 kB / 262 MB, free: 8.234 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004734/0.03343, allocations: 2.484 MB / 264.5 MB, free: 5.742 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.03344, allocations: 0 / 264.5 MB, free: 5.742 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.03344, allocations: 0 / 264.5 MB, free: 5.742 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.577e-05/0.03348, allocations: 3.938 kB / 264.5 MB, free: 5.738 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.008596/0.04208, allocations: 2.793 MB / 267.3 MB, free: 2.898 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/0.04214, allocations: 8.031 kB / 267.3 MB, free: 2.891 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007938/0.04293, allocations: 323 kB / 267.6 MB, free: 2.574 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00521/0.04814, allocations: 1.797 MB / 269.4 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002086/0.04835, allocations: 110.7 kB / 269.5 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003354/0.04869, allocations: 48.73 kB / 269.6 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.04973, allocations: 446.3 kB / 270 MB, free: 104 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.04975, allocations: 3.984 kB / 270 MB, free: 100 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.868e-05/0.0498, allocations: 16 kB / 270 MB, free: 84 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.04981, allocations: 8 kB / 270 MB, free: 76 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008201/0.05063, allocations: 327.8 kB / 270.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005213/0.05584, allocations: 2.568 MB / 272.9 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007616/0.0566, allocations: 307.5 kB / 273.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003541/0.05696, allocations: 149.7 kB / 273.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.13e-05/0.057, allocations: 8 kB / 273.4 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.05704, allocations: 38.56 kB / 273.4 MB, free: 12.58 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.883e-06/0.05704, allocations: 0 / 273.4 MB, free: 12.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.005952/0.06299, allocations: 2.376 MB / 275.8 MB, free: 10.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.496e-05/0.06307, allocations: 85.61 kB / 275.9 MB, free: 10.06 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008034/0.0711, allocations: 5.44 MB / 281.3 MB, free: 4.613 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.767e-05/0.07118, allocations: 37.7 kB / 281.3 MB, free: 4.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001342/0.07252, allocations: 1.156 MB / 282.5 MB, free: 3.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001922/0.07271, allocations: 178.5 kB / 282.7 MB, free: 3.234 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/0.07288, allocations: 90.08 kB / 282.8 MB, free: 3.141 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.07308, allocations: 333.9 kB / 283.1 MB, free: 2.809 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003786/0.07345, allocations: 132.9 kB / 283.2 MB, free: 2.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004321/0.07389, allocations: 229.1 kB / 283.4 MB, free: 2.426 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008078/0.07469, allocations: 381.5 kB / 283.8 MB, free: 2.027 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.0747, allocations: 0 / 283.8 MB, free: 2.027 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001446/0.07614, allocations: 0.7144 MB / 284.5 MB, free: 1.309 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.07617, allocations: 8 kB / 284.5 MB, free: 1.301 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.07617, allocations: 0 / 284.5 MB, free: 1.301 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.834e-05/0.0762, allocations: 8 kB / 284.6 MB, free: 1.293 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005521/0.07675, allocations: 119.8 kB / 284.7 MB, free: 1.176 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.07677, allocations: 4 kB / 284.7 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004352/0.0772, allocations: 23.94 kB / 284.7 MB, free: 1.148 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.79e-05/0.07725, allocations: 24.16 kB / 284.7 MB, free: 1.125 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001601/0.07885, allocations: 0.923 MB / 285.6 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004253/0.07928, allocations: 294.3 kB / 285.9 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001556/0.08083, allocations: 0.776 MB / 286.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.08084, allocations: 4 kB / 286.7 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.08085, allocations: 0 / 286.7 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.08085, allocations: 3.984 kB / 286.7 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.08255, allocations: 1.184 MB / 287.9 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.08256, allocations: 0 / 287.9 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004706/0.08303, allocations: 91.88 kB / 288 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003541/0.08338, allocations: 80.75 kB / 288.1 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.044e-05/0.08342, allocations: 15.98 kB / 288.1 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007085/0.08413, allocations: 0.6422 MB / 288.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.08413, allocations: 3.984 kB / 288.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.08602, allocations: 1.081 MB / 289.8 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008597/0.08688, allocations: 434 kB / 290.2 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001738/0.08706, allocations: 12 kB / 290.2 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004919/0.08755, allocations: 23.98 kB / 290.3 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.879e-05/0.08764, allocations: 36.33 kB / 290.3 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-05/0.08768, allocations: 15.98 kB / 290.3 MB, free: 11.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.005728/0.09341, allocations: 3.966 MB / 294.3 MB, free: 7.453 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.09341, allocations: 0 / 294.3 MB, free: 7.453 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007612/0.09417, allocations: 207.9 kB / 294.5 MB, free: 7.25 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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 {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002029/0.0962, allocations: 443.9 kB / 294.9 MB, free: 6.848 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009256/0.09712, allocations: 362.2 kB / 295.3 MB, free: 6.492 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.09713, allocations: 0 / 295.3 MB, free: 6.492 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005076/0.09763, allocations: 203.9 kB / 295.5 MB, free: 6.297 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.09879, allocations: 187.6 kB / 295.7 MB, free: 6.109 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008477/0.1073, allocations: 5.401 MB / 301.1 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1071/0.2143, allocations: 1.237 MB / 302.3 MB, free: 56.5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0009204/0.2152, allocations: 269.1 kB / 302.6 MB, free: 56.48 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003187/0.2156, allocations: 88.02 kB / 302.6 MB, free: 56.48 MB / 282.7 MB Notification: Performance of SimCode: time 2.094e-06/0.2156, allocations: 2.406 kB / 302.6 MB, free: 56.48 MB / 282.7 MB Notification: Performance of Templates: time 0.0308/0.2464, allocations: 15.23 MB / 317.9 MB, free: 49.41 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.97633022791706]