Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001578/0.001578, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001708/0.001708, allocations: 160.8 kB / 25.61 MB, free: 8.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9712/0.9712, allocations: 177.1 MB / 206 MB, free: 4.523 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 274.2 MB, free: 4.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.953e-05/2.088e-05, allocations: 2.312 kB / 274.2 MB, free: 4.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005633/0.005654, allocations: 4.273 MB / 278.5 MB, free: 156 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003305/0.008959, allocations: 1.606 MB / 280.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004664/0.009425, allocations: 11.94 kB / 280.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004047/0.00983, allocations: 130.8 kB / 280.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009317/0.01076, allocations: 377.3 kB / 280.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004925/0.01125, allocations: 247.5 kB / 280.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000818/0.01207, allocations: 1.009 MB / 281.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002234/0.0123, allocations: 154.1 kB / 282 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005711/0.01287, allocations: 0.5652 MB / 282.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003385/0.01321, allocations: 339.1 kB / 282.9 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.54e-05/0.0133, allocations: 96 kB / 283 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002675/0.01357, allocations: 211.9 kB / 283.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.01368, allocations: 199.3 kB / 283.4 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001946/0.01387, allocations: 291.3 kB / 283.7 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006694/0.01454, allocations: 0.7124 MB / 284.4 MB, free: 10.22 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.01455, allocations: 0 / 284.4 MB, free: 10.22 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01455, allocations: 0 / 284.4 MB, free: 10.22 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.01456, allocations: 3.938 kB / 284.4 MB, free: 10.21 MB / 266.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.001396/0.01595, allocations: 1.142 MB / 285.5 MB, free: 9.035 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.01599, allocations: 12.03 kB / 285.5 MB, free: 9.023 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002103/0.0162, allocations: 136.4 kB / 285.7 MB, free: 8.891 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000448/0.01665, allocations: 418.2 kB / 286.1 MB, free: 8.453 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.362e-05/0.01674, allocations: 131 kB / 286.2 MB, free: 8.309 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.01687, allocations: 68.67 kB / 286.3 MB, free: 8.242 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005227/0.01739, allocations: 0.5349 MB / 286.8 MB, free: 7.656 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.01741, allocations: 11.94 kB / 286.8 MB, free: 7.645 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.869e-05/0.01745, allocations: 20 kB / 286.8 MB, free: 7.625 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.01746, allocations: 12 kB / 286.8 MB, free: 7.613 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003059/0.01776, allocations: 230.1 kB / 287.1 MB, free: 7.387 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.01967, allocations: 1.969 MB / 289 MB, free: 5.336 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/0.02, allocations: 290.4 kB / 289.3 MB, free: 5.023 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.02016, allocations: 131.7 kB / 289.4 MB, free: 4.887 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.02018, allocations: 12 kB / 289.5 MB, free: 4.875 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.0202, allocations: 45.33 kB / 289.5 MB, free: 4.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 2.134e-06/0.02021, allocations: 3.938 kB / 289.5 MB, free: 4.816 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.00492/0.02513, allocations: 2.199 MB / 291.7 MB, free: 2.574 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.02516, allocations: 85.61 kB / 291.8 MB, free: 2.473 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000351/0.02552, allocations: 482.3 kB / 292.3 MB, free: 1.984 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.02555, allocations: 37.7 kB / 292.3 MB, free: 1.941 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.02574, allocations: 375.5 kB / 292.7 MB, free: 1.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.02587, allocations: 222 kB / 292.9 MB, free: 1.352 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.026, allocations: 123.9 kB / 293 MB, free: 1.223 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.02615, allocations: 0.5468 MB / 293.5 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.02629, allocations: 77.23 kB / 293.6 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.02648, allocations: 211.6 kB / 293.8 MB, free: 344 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003496/0.02683, allocations: 332.8 kB / 294.2 MB, free: 15.96 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.02683, allocations: 4 kB / 294.2 MB, free: 15.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0005564/0.02739, allocations: 452.6 kB / 294.6 MB, free: 15.51 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.0274, allocations: 12.06 kB / 294.6 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.02741, allocations: 4 kB / 294.6 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001681/0.02758, allocations: 51.56 kB / 294.7 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003935/0.02797, allocations: 163.8 kB / 294.8 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008334/0.02881, allocations: 1.741 MB / 296.6 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.02907, allocations: 31.98 kB / 296.6 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.0291, allocations: 19.98 kB / 296.6 MB, free: 13.37 MB / 282.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.0001683/0.02927, allocations: 196.5 kB / 296.8 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.02938, allocations: 83.61 kB / 296.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006415/0.03002, allocations: 0.5024 MB / 297.4 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.03003, allocations: 8 kB / 297.4 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.03003, allocations: 0 / 297.4 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.03004, allocations: 7.984 kB / 297.4 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/0.03169, allocations: 1.151 MB / 298.6 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.0317, allocations: 0 / 298.6 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.03195, allocations: 107.9 kB / 298.7 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008906/0.03284, allocations: 330.2 kB / 299 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.214e-05/0.03288, allocations: 23.94 kB / 299 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0023/0.03518, allocations: 2.739 MB / 301.8 MB, free: 8.059 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.03519, allocations: 4.031 kB / 301.8 MB, free: 8.055 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.03629, allocations: 0.8927 MB / 302.6 MB, free: 7.141 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/0.03648, allocations: 135.5 kB / 302.8 MB, free: 7.008 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.227e-05/0.03654, allocations: 16 kB / 302.8 MB, free: 6.992 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.03679, allocations: 31.98 kB / 302.8 MB, free: 6.961 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.0369, allocations: 52.55 kB / 302.9 MB, free: 6.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.03693, allocations: 12 kB / 302.9 MB, free: 6.898 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002094/0.03714, allocations: 311 kB / 303.2 MB, free: 6.598 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03714, allocations: 0 / 303.2 MB, free: 6.598 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005379/0.03767, allocations: 192 kB / 303.4 MB, free: 6.41 MB / 282.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.0002281/0.0379, allocations: 161.9 kB / 303.5 MB, free: 6.246 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005588/0.03846, allocations: 499.8 kB / 304 MB, free: 5.742 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.03846, allocations: 0 / 304 MB, free: 5.742 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003817/0.03885, allocations: 446.1 kB / 304.5 MB, free: 5.281 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.03926, allocations: 88.23 kB / 304.5 MB, free: 5.195 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.04098, allocations: 1.26 MB / 305.8 MB, free: 3.895 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.73e-05/0.04108, allocations: 144.2 kB / 305.9 MB, free: 3.727 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001922/0.04127, allocations: 68.66 kB / 306 MB, free: 3.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/0.04152, allocations: 178.1 kB / 306.2 MB, free: 3.484 MB / 282.7 MB Notification: Performance of SimCode: time 8.81e-07/0.04152, allocations: 4 kB / 306.2 MB, free: 3.48 MB / 282.7 MB Notification: Performance of Templates: time 0.01287/0.05439, allocations: 10.51 MB / 316.7 MB, free: 9.09 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.9293488687835634]