Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 108.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 51.91 kB / 371.7 MB, free: 9.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3074, allocations: 52.19 MB / 423.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005162/0.3126, allocations: 3.449 MB / 427.3 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00252/0.3151, allocations: 1.461 MB / 428.8 MB, free: 9.773 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003139/0.3154, allocations: 15.88 kB / 428.8 MB, free: 9.758 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003463/0.3189, allocations: 2.667 MB / 431.5 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006665/0.3195, allocations: 170.7 kB / 431.6 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008786/0.3204, allocations: 314.2 kB / 431.9 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002273/0.3227, allocations: 1.802 MB / 433.8 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002498/0.3229, allocations: 95.69 kB / 433.8 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005013/0.3234, allocations: 317 kB / 434.2 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005117/0.3239, allocations: 346.8 kB / 434.5 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.784e-05/0.324, allocations: 44 kB / 434.5 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002501/0.3243, allocations: 87.92 kB / 434.6 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007742/0.3251, allocations: 0.8453 MB / 435.5 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008526/0.3259, allocations: 0.9501 MB / 436.4 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002758/0.3287, allocations: 2.627 MB / 439 MB, free: 15.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3287, allocations: 0 / 439 MB, free: 15.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3287, allocations: 0 / 439 MB, free: 15.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.106e-05/0.3287, allocations: 0 / 439 MB, free: 15.49 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.004372/0.3331, allocations: 2.828 MB / 441.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.3331, allocations: 8.031 kB / 441.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003782/0.3335, allocations: 295 kB / 442.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002759/0.3363, allocations: 1.79 MB / 444 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.3364, allocations: 114.7 kB / 444.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001852/0.3366, allocations: 47.92 kB / 444.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007621/0.3373, allocations: 398.9 kB / 444.5 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.3374, allocations: 0 / 444.5 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.041e-05/0.3374, allocations: 16 kB / 444.5 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.3374, allocations: 8 kB / 444.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007395/0.3382, allocations: 335.8 kB / 444.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004933/0.3431, allocations: 2.853 MB / 447.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006818/0.3438, allocations: 301 kB / 448 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003251/0.3441, allocations: 159.1 kB / 448.2 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.224e-05/0.3441, allocations: 4 kB / 448.2 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.3442, allocations: 46.36 kB / 448.2 MB, free: 6.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 2.354e-06/0.3442, allocations: 0 / 448.2 MB, free: 6.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.005038/0.3492, allocations: 2.38 MB / 450.6 MB, free: 3.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/0.3493, allocations: 89.58 kB / 450.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007058/0.3563, allocations: 5.431 MB / 456.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.165e-05/0.3564, allocations: 29.7 kB / 456.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001231/0.3577, allocations: 1.211 MB / 457.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002051/0.3579, allocations: 174.5 kB / 457.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.358, allocations: 86.14 kB / 457.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3582, allocations: 329.9 kB / 457.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003769/0.3586, allocations: 140.9 kB / 458.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004043/0.359, allocations: 229 kB / 458.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007064/0.3597, allocations: 384.3 kB / 458.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.3597, allocations: 3.938 kB / 458.7 MB, free: 11.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001463/0.3611, allocations: 0.6972 MB / 459.4 MB, free: 10.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.3612, allocations: 7.281 kB / 459.4 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.3612, allocations: 8 kB / 459.4 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.3612, allocations: 8.25 kB / 459.4 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005303/0.3617, allocations: 119.8 kB / 459.5 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.3617, allocations: 4 kB / 459.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004974/0.3622, allocations: 19.98 kB / 459.5 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.3623, allocations: 16 kB / 459.5 MB, free: 10.59 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.001317/0.3636, allocations: 0.9268 MB / 460.5 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003691/0.364, allocations: 286.1 kB / 460.7 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/0.3655, allocations: 0.7825 MB / 461.5 MB, free: 8.578 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.3655, allocations: 8 kB / 461.5 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3655, allocations: 0 / 461.5 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.3655, allocations: 7.969 kB / 461.5 MB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.3673, allocations: 1.437 MB / 463 MB, free: 7.082 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.3673, allocations: 7.938 kB / 463 MB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004675/0.3678, allocations: 103.9 kB / 463.1 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003751/0.3682, allocations: 92.72 kB / 463.2 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/0.3682, allocations: 11.98 kB / 463.2 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006314/0.3688, allocations: 0.6305 MB / 463.8 MB, free: 6.211 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3688, allocations: 0 / 463.8 MB, free: 6.211 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.3707, allocations: 1.098 MB / 464.9 MB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/0.3717, allocations: 426.1 kB / 465.3 MB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/0.3719, allocations: 12 kB / 465.3 MB, free: 4.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004673/0.3723, allocations: 19.98 kB / 465.4 MB, free: 4.641 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.3724, allocations: 28.38 kB / 465.4 MB, free: 4.613 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/0.3725, allocations: 16.12 kB / 465.4 MB, free: 4.598 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.005699/0.3782, allocations: 3.977 MB / 469.4 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3782, allocations: 0 / 469.4 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008844/0.379, allocations: 200 kB / 469.6 MB, free: 444 kB / 366.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.00158/0.3806, allocations: 423.6 kB / 470 MB, free: 180 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009047/0.3815, allocations: 368.8 kB / 470.4 MB, free: 15.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3815, allocations: 0 / 470.4 MB, free: 15.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004683/0.382, allocations: 202.3 kB / 470.6 MB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.3832, allocations: 194.6 kB / 470.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00952/0.3927, allocations: 5.672 MB / 476.4 MB, free: 9.707 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001792/0.3945, allocations: 1.814 MB / 478.2 MB, free: 7.859 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004999/0.395, allocations: 95.42 kB / 478.3 MB, free: 7.766 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.395, allocations: 0 / 478.3 MB, free: 7.766 MB / 382.1 MB Notification: Performance of Templates: time 0.06508/0.4601, allocations: 35.96 MB / 0.5022 GB, free: 3.777 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 8.649279311997816]