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.001801/0.001801, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.002207/0.002207, allocations: 186 kB / 24.46 MB, free: 3.863 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.454/1.454, allocations: 225.7 MB / 253.3 MB, free: 12.84 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.002087/0.002087, allocations: 51.92 kB / 371.6 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2922, allocations: 52.18 MB / 423.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005074/0.2973, allocations: 3.16 MB / 427 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002547/0.2999, allocations: 1.407 MB / 428.4 MB, free: 9.883 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002047/0.3001, allocations: 8 kB / 428.4 MB, free: 9.875 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003134/0.3032, allocations: 2.659 MB / 431.1 MB, free: 7.211 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004791/0.3037, allocations: 174.7 kB / 431.2 MB, free: 7.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007241/0.3044, allocations: 314.8 kB / 431.5 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001849/0.3062, allocations: 1.802 MB / 433.3 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.3065, allocations: 83.7 kB / 433.4 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004045/0.3069, allocations: 317 kB / 433.7 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000422/0.3073, allocations: 334.7 kB / 434.1 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.924e-05/0.3074, allocations: 44 kB / 434.1 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.3076, allocations: 87.98 kB / 434.2 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006563/0.3082, allocations: 0.8414 MB / 435 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005856/0.3088, allocations: 0.6627 MB / 435.7 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002539/0.3114, allocations: 2.661 MB / 438.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3114, allocations: 0 / 438.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3114, allocations: 0 / 438.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.195e-05/0.3114, allocations: 0 / 438.4 MB, free: 15.89 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.004487/0.3159, allocations: 2.828 MB / 441.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.3159, allocations: 16.02 kB / 441.2 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000386/0.3163, allocations: 291 kB / 441.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002733/0.3191, allocations: 1.786 MB / 443.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.3192, allocations: 114.7 kB / 443.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001907/0.3194, allocations: 51.92 kB / 443.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007855/0.3202, allocations: 446.4 kB / 443.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.3202, allocations: 3.953 kB / 443.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.258e-05/0.3202, allocations: 16 kB / 443.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.3202, allocations: 8 kB / 443.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007137/0.3209, allocations: 331.7 kB / 444.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004033/0.325, allocations: 2.552 MB / 446.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006493/0.3256, allocations: 300.7 kB / 447.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003207/0.3259, allocations: 159.1 kB / 447.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.506e-05/0.326, allocations: 4 kB / 447.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.326, allocations: 46.36 kB / 447.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 2.324e-06/0.326, allocations: 4 kB / 447.3 MB, free: 6.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.004993/0.331, allocations: 2.379 MB / 449.6 MB, free: 4.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.3311, allocations: 85.58 kB / 449.7 MB, free: 4.207 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006647/0.3377, allocations: 5.44 MB / 455.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.747e-05/0.3378, allocations: 37.7 kB / 455.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001206/0.339, allocations: 1.16 MB / 456.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.3392, allocations: 178.4 kB / 456.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.3393, allocations: 86.17 kB / 456.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3395, allocations: 322 kB / 456.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003512/0.3398, allocations: 140.9 kB / 457.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003891/0.3402, allocations: 225 kB / 457.3 MB, free: 12.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007163/0.3409, allocations: 384.2 kB / 457.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3409, allocations: 0 / 457.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001346/0.3423, allocations: 0.705 MB / 458.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.3423, allocations: 8 kB / 458.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.3423, allocations: 0 / 458.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/0.3423, allocations: 4 kB / 458.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005131/0.3428, allocations: 128.1 kB / 458.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.3429, allocations: 4 kB / 458.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004431/0.3433, allocations: 15.98 kB / 458.5 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.174e-05/0.3433, allocations: 20 kB / 458.6 MB, free: 11.29 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.001149/0.3445, allocations: 0.9153 MB / 459.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003586/0.3448, allocations: 286 kB / 459.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/0.3464, allocations: 0.7981 MB / 460.5 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.3464, allocations: 4 kB / 460.6 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3464, allocations: 4 kB / 460.6 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.3464, allocations: 3.984 kB / 460.6 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/0.3479, allocations: 1.168 MB / 461.7 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.3479, allocations: 3.984 kB / 461.7 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004401/0.3484, allocations: 91.89 kB / 461.8 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003636/0.3487, allocations: 108.7 kB / 461.9 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.046e-05/0.3488, allocations: 11.94 kB / 461.9 MB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006045/0.3494, allocations: 0.6305 MB / 462.6 MB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3494, allocations: 0 / 462.6 MB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.3512, allocations: 1.09 MB / 463.7 MB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.3522, allocations: 426.1 kB / 464.1 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/0.3524, allocations: 12 kB / 464.1 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004588/0.3528, allocations: 15.98 kB / 464.1 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.631e-05/0.3529, allocations: 32.38 kB / 464.1 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.353, allocations: 19.98 kB / 464.2 MB, free: 5.582 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.005336/0.3583, allocations: 3.966 MB / 468.1 MB, free: 1.625 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.3583, allocations: 4 kB / 468.1 MB, free: 1.621 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008724/0.3592, allocations: 211.9 kB / 468.3 MB, free: 1.414 MB / 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.001697/0.3609, allocations: 451.2 kB / 468.8 MB, free: 1.152 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008908/0.3618, allocations: 357.3 kB / 469.1 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3618, allocations: 4.062 kB / 469.1 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004699/0.3622, allocations: 202.4 kB / 469.3 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.3633, allocations: 185.7 kB / 469.5 MB, free: 432 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008034/0.3713, allocations: 5.657 MB / 475.2 MB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001619/0.3729, allocations: 1.241 MB / 476.4 MB, free: 9.434 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004171/0.3734, allocations: 95.36 kB / 476.5 MB, free: 9.34 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3734, allocations: 0 / 476.5 MB, free: 9.34 MB / 382.1 MB Notification: Performance of Templates: time 0.06385/0.4372, allocations: 36.83 MB / 0.5013 GB, free: 4.477 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.462427080143243]