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.001318/0.001318, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001832/0.00315, 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.0007957/0.0007957, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001037/0.001833, 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 1.078/1.078, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1648/1.242, allocations: 49.5 MB / 220.7 MB, free: 1.359 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.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.323e-06/1.323e-06, allocations: 0 / 222 MB, free: 80 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.075e-05, allocations: 6.312 kB / 222 MB, free: 72 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.003737/0.003758, allocations: 3.367 MB / 225.3 MB, free: 12.68 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002265/0.006023, allocations: 1.423 MB / 226.8 MB, free: 11.25 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002189/0.006242, allocations: 7.938 kB / 226.8 MB, free: 11.24 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002182/0.008423, allocations: 2.74 MB / 229.5 MB, free: 8.492 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003316/0.008755, allocations: 190.4 kB / 229.7 MB, free: 8.305 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004759/0.009231, allocations: 287.3 kB / 230 MB, free: 8.023 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001266/0.0105, allocations: 1.595 MB / 231.6 MB, free: 6.426 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.01067, allocations: 104.2 kB / 231.7 MB, free: 6.32 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009132/0.01159, allocations: 0.5671 MB / 232.2 MB, free: 5.773 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/0.01187, allocations: 291.3 kB / 232.5 MB, free: 5.488 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.659e-05/0.01193, allocations: 44 kB / 232.6 MB, free: 5.445 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.01207, allocations: 79.86 kB / 232.7 MB, free: 5.367 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004052/0.01248, allocations: 0.8085 MB / 233.5 MB, free: 4.555 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002665/0.01274, allocations: 370.3 kB / 233.8 MB, free: 4.191 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.01375, allocations: 1.444 MB / 235.3 MB, free: 2.742 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.125e-05/0.01376, allocations: 8 kB / 235.3 MB, free: 2.734 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.01377, allocations: 0 / 235.3 MB, free: 2.734 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.325e-05/0.0138, allocations: 0 / 235.3 MB, free: 2.734 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.00241/0.01621, allocations: 2.978 MB / 238.3 MB, free: 15.71 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.01625, allocations: 8.031 kB / 238.3 MB, free: 15.71 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002244/0.01647, allocations: 180.7 kB / 238.4 MB, free: 15.53 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009938/0.01747, allocations: 1.128 MB / 239.6 MB, free: 14.36 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.892e-05/0.01757, allocations: 110.7 kB / 239.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.01768, allocations: 44.73 kB / 239.7 MB, free: 14.2 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/0.01804, allocations: 359 kB / 240.1 MB, free: 13.81 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.01805, allocations: 7.938 kB / 240.1 MB, free: 13.8 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.01808, allocations: 16 kB / 240.1 MB, free: 13.79 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.01809, allocations: 8 kB / 240.1 MB, free: 13.78 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.01826, allocations: 138.9 kB / 240.2 MB, free: 13.64 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.01981, allocations: 1.427 MB / 241.7 MB, free: 12.16 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002547/0.02007, allocations: 208.3 kB / 241.9 MB, free: 11.94 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.368e-05/0.02015, allocations: 81.52 kB / 241.9 MB, free: 11.85 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.587e-05/0.02019, allocations: 8 kB / 242 MB, free: 11.84 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.02023, allocations: 50.47 kB / 242 MB, free: 11.79 MB / 250.7 MB Notification: Performance of pre-optimization done (n=37): time 2.214e-06/0.02023, allocations: 0 / 242 MB, free: 11.79 MB / 250.7 MB Notification: Performance of matching and sorting (n=48): time 0.002136/0.02236, allocations: 1.146 MB / 243.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.0224, allocations: 89.64 kB / 243.2 MB, free: 10.5 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002113/0.02452, allocations: 2.92 MB / 246.2 MB, free: 7.57 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.02454, allocations: 33.7 kB / 246.2 MB, free: 7.531 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/0.02486, allocations: 0.5296 MB / 246.7 MB, free: 6.992 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.02499, allocations: 174.5 kB / 246.9 MB, free: 6.82 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.671e-05/0.02508, allocations: 90.08 kB / 247 MB, free: 6.727 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.209e-05/0.02516, allocations: 329.9 kB / 247.3 MB, free: 6.398 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.437e-05/0.02523, allocations: 48.97 kB / 247.3 MB, free: 6.352 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.02533, allocations: 125.2 kB / 247.5 MB, free: 6.199 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/0.02562, allocations: 232.2 kB / 247.7 MB, free: 5.945 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.02562, allocations: 4 kB / 247.7 MB, free: 5.941 MB / 250.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0003636/0.02599, allocations: 370.3 kB / 248.1 MB, free: 5.578 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.026, allocations: 4 kB / 248.1 MB, free: 5.574 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.02601, allocations: 4 kB / 248.1 MB, free: 5.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.02602, allocations: 4 kB / 248.1 MB, free: 5.566 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003392/0.02636, allocations: 151.6 kB / 248.2 MB, free: 5.418 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.02637, allocations: 8 kB / 248.2 MB, free: 5.41 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.02654, allocations: 15.98 kB / 248.2 MB, free: 5.395 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.02656, allocations: 12.09 kB / 248.3 MB, free: 5.383 MB / 250.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.0002092/0.02677, allocations: 152.4 kB / 248.4 MB, free: 5.223 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.02691, allocations: 151.8 kB / 248.6 MB, free: 5.074 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004837/0.02739, allocations: 487.8 kB / 249 MB, free: 4.586 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.0274, allocations: 7.938 kB / 249 MB, free: 4.578 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.0274, allocations: 0 / 249 MB, free: 4.578 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.0274, allocations: 0 / 249 MB, free: 4.578 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008542/0.02826, allocations: 0.7235 MB / 249.8 MB, free: 3.836 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.291e-06/0.02826, allocations: 4 kB / 249.8 MB, free: 3.832 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002878/0.02855, allocations: 135.8 kB / 249.9 MB, free: 3.699 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003026/0.02885, allocations: 330 kB / 250.2 MB, free: 3.375 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001595/0.02901, allocations: 60.8 kB / 250.3 MB, free: 3.312 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.02903, allocations: 4 kB / 250.3 MB, free: 3.309 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004871/0.02952, allocations: 0.8407 MB / 251.1 MB, free: 2.438 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.02952, allocations: 7.938 kB / 251.1 MB, free: 2.43 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005709/0.03009, allocations: 0.6347 MB / 251.8 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.834e-05/0.03018, allocations: 12 kB / 251.8 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.03038, allocations: 15.98 kB / 251.8 MB, free: 1.746 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.807e-05/0.03044, allocations: 32.44 kB / 251.8 MB, free: 1.711 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.03046, allocations: 12.03 kB / 251.8 MB, free: 1.699 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001073/0.03153, allocations: 1.44 MB / 253.3 MB, free: 272 kB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03153, allocations: 3.938 kB / 253.3 MB, free: 268 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003505/0.03188, allocations: 208 kB / 253.5 MB, free: 60 kB / 250.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.001211/0.03309, allocations: 0.5556 MB / 254 MB, free: 15.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002402/0.03333, allocations: 216.9 kB / 254.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.603e-05/0.03336, allocations: 39.88 kB / 254.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001881/0.03355, allocations: 158.8 kB / 254.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009924/0.03454, allocations: 1.043 MB / 255.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005391/0.03993, allocations: 3.875 MB / 259.4 MB, free: 10 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.04035, allocations: 0.5551 MB / 259.9 MB, free: 9.418 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000576/0.04092, allocations: 167.8 kB / 260.1 MB, free: 9.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003184/0.04124, allocations: 239.3 kB / 260.3 MB, free: 9.016 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.04124, allocations: 0 / 260.3 MB, free: 9.016 MB / 266.7 MB Notification: Performance of Templates: time 0.02178/0.06302, allocations: 16.68 MB / 277 MB, free: 8.301 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 240] 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","",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.1358071947470307]