Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001271/0.001271, allocations: 116.1 kB / 21.17 MB, free: 0.6133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001399/0.001399, allocations: 205.9 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.367/1.367, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 67.84 kB / 378.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2468, allocations: 53.31 MB / 432 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005018/0.2519, allocations: 3.497 MB / 435.5 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002768/0.2546, allocations: 1.664 MB / 437.2 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002183/0.2548, allocations: 7.938 kB / 437.2 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002985/0.2578, allocations: 2.667 MB / 439.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005642/0.2584, allocations: 226.5 kB / 440.1 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007291/0.2591, allocations: 322.2 kB / 440.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001894/0.261, allocations: 1.817 MB / 442.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/0.2612, allocations: 99.97 kB / 442.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004273/0.2616, allocations: 317 kB / 442.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004536/0.2621, allocations: 366.6 kB / 443 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.195e-05/0.2622, allocations: 44 kB / 443 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001933/0.2624, allocations: 91.98 kB / 443.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006744/0.263, allocations: 0.8453 MB / 444 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007495/0.2638, allocations: 0.9462 MB / 444.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002533/0.2663, allocations: 2.643 MB / 447.6 MB, free: 7.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.2663, allocations: 0 / 447.6 MB, free: 7.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2663, allocations: 3.938 kB / 447.6 MB, free: 7.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.272e-05/0.2664, allocations: 8 kB / 447.6 MB, free: 7.824 MB / 350.1 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.004423/0.2708, allocations: 2.919 MB / 450.5 MB, free: 4.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.2708, allocations: 8.031 kB / 450.5 MB, free: 4.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004755/0.2713, allocations: 306.9 kB / 450.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002772/0.2741, allocations: 1.858 MB / 452.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.775e-05/0.2742, allocations: 59.25 kB / 452.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/0.2743, allocations: 43.94 kB / 452.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007451/0.2751, allocations: 398.9 kB / 453.1 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.2751, allocations: 7.938 kB / 453.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.738e-05/0.2751, allocations: 12 kB / 453.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.2751, allocations: 12 kB / 453.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007192/0.2759, allocations: 335.7 kB / 453.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00429/0.2801, allocations: 2.896 MB / 456.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006282/0.2808, allocations: 307.8 kB / 456.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003213/0.2811, allocations: 161.9 kB / 456.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.574e-05/0.2811, allocations: 11.98 kB / 456.9 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.2812, allocations: 39.09 kB / 456.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 1.563e-06/0.2812, allocations: 0 / 456.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.004768/0.2859, allocations: 2.469 MB / 459.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.286, allocations: 89.48 kB / 459.5 MB, free: 11.58 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006218/0.2922, allocations: 5.452 MB / 464.9 MB, free: 6.125 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.075e-05/0.2922, allocations: 41.73 kB / 465 MB, free: 6.078 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001183/0.2934, allocations: 1.188 MB / 466.1 MB, free: 4.887 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.2936, allocations: 174.5 kB / 466.3 MB, free: 4.715 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.2937, allocations: 90.2 kB / 466.4 MB, free: 4.617 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.2939, allocations: 325.9 kB / 466.7 MB, free: 4.293 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003366/0.2942, allocations: 141 kB / 466.9 MB, free: 4.156 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000404/0.2946, allocations: 225.7 kB / 467.1 MB, free: 3.914 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007077/0.2953, allocations: 380.3 kB / 467.5 MB, free: 3.516 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.2953, allocations: 7.938 kB / 467.5 MB, free: 3.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001156/0.2965, allocations: 0.6972 MB / 468.2 MB, free: 2.805 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.2965, allocations: 8 kB / 468.2 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.2965, allocations: 0 / 468.2 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.2965, allocations: 4 kB / 468.2 MB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005227/0.297, allocations: 123.8 kB / 468.3 MB, free: 2.672 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.2971, allocations: 8.25 kB / 468.3 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004064/0.2975, allocations: 15.98 kB / 468.3 MB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/0.2975, allocations: 20 kB / 468.3 MB, free: 2.629 MB / 366.1 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.001023/0.2985, allocations: 0.923 MB / 469.3 MB, free: 1.695 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003419/0.2989, allocations: 282.1 kB / 469.5 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.3004, allocations: 0.802 MB / 470.3 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.3004, allocations: 4 kB / 470.3 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3004, allocations: 0 / 470.3 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.3005, allocations: 4 kB / 470.3 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002504/0.303, allocations: 1.481 MB / 471.8 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.303, allocations: 3.938 kB / 471.8 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007396/0.3037, allocations: 95.88 kB / 471.9 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005627/0.3043, allocations: 100.7 kB / 472 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.266e-05/0.3043, allocations: 19.92 kB / 472 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008127/0.3051, allocations: 0.6266 MB / 472.7 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.3051, allocations: 7.922 kB / 472.7 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002507/0.3077, allocations: 1.083 MB / 473.8 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001368/0.309, allocations: 0.4993 MB / 474.3 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003121/0.3093, allocations: 16 kB / 474.3 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007985/0.3101, allocations: 23.98 kB / 474.3 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.99e-05/0.3102, allocations: 28.39 kB / 474.3 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.21e-05/0.3103, allocations: 11.98 kB / 474.3 MB, free: 12.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.007255/0.3175, allocations: 3.99 MB / 478.3 MB, free: 8.504 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3175, allocations: 0 / 478.3 MB, free: 8.504 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009976/0.3185, allocations: 204 kB / 478.5 MB, free: 8.305 MB / 382.1 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.001723/0.3202, allocations: 425.6 kB / 478.9 MB, free: 8.047 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.3213, allocations: 360.8 kB / 479.3 MB, free: 7.695 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3213, allocations: 0.5 kB / 479.3 MB, free: 7.695 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005748/0.3219, allocations: 206.4 kB / 479.5 MB, free: 7.496 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.3232, allocations: 186.2 kB / 479.7 MB, free: 7.312 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.3348, allocations: 5.674 MB / 485.3 MB, free: 1.586 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002837/0.3376, allocations: 1.829 MB / 487.2 MB, free: 15.72 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005798/0.3382, allocations: 99.36 kB / 487.3 MB, free: 15.62 MB / 398.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3382, allocations: 0 / 487.3 MB, free: 15.62 MB / 398.1 MB Notification: Performance of Templates: time 0.06176/0.4, allocations: 36.19 MB / 0.5112 GB, free: 11.41 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.943282214924693]