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.001935/0.001935, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 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.002154/0.002154, allocations: 149.4 kB / 24.25 MB, free: 184 kB / 18.57 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.464/1.464, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 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 1.683e-06/1.683e-06, allocations: 0 / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.06e-05/3.228e-05, allocations: 5.969 kB / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005573/0.005605, allocations: 3.176 MB / 270.5 MB, free: 3.527 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00319/0.008796, allocations: 1.403 MB / 271.9 MB, free: 2.117 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003111/0.009107, allocations: 11.94 kB / 271.9 MB, free: 2.105 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004148/0.01326, allocations: 2.666 MB / 274.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007294/0.01398, allocations: 190.5 kB / 274.8 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008915/0.01488, allocations: 303.3 kB / 275.1 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002793/0.01767, allocations: 1.821 MB / 276.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002824/0.01795, allocations: 91.67 kB / 277 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000724/0.01868, allocations: 421.1 kB / 277.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004566/0.01913, allocations: 291.3 kB / 277.7 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.01924, allocations: 44 kB / 277.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002164/0.01945, allocations: 83.92 kB / 277.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008179/0.02027, allocations: 0.8649 MB / 278.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005636/0.02083, allocations: 466.1 kB / 279.1 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003073/0.02391, allocations: 2.5 MB / 281.6 MB, free: 8.375 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.02391, allocations: 0 / 281.6 MB, free: 8.375 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.02391, allocations: 4 kB / 281.6 MB, free: 8.371 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.05e-05/0.02394, allocations: 0 / 281.6 MB, free: 8.371 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004888/0.02883, allocations: 2.797 MB / 284.4 MB, free: 5.523 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.02887, allocations: 8.922 kB / 284.4 MB, free: 5.516 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005354/0.02941, allocations: 323 kB / 284.7 MB, free: 5.199 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003178/0.03259, allocations: 1.797 MB / 286.5 MB, free: 3.363 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001555/0.03274, allocations: 110.7 kB / 286.6 MB, free: 3.238 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002179/0.03296, allocations: 56.62 kB / 286.7 MB, free: 3.184 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.03399, allocations: 446.4 kB / 287.1 MB, free: 2.719 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.034, allocations: 4 kB / 287.1 MB, free: 2.715 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.495e-05/0.03405, allocations: 16 kB / 287.2 MB, free: 2.699 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.03406, allocations: 8 kB / 287.2 MB, free: 2.691 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008237/0.03488, allocations: 327.7 kB / 287.5 MB, free: 2.371 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1388/0.1737, allocations: 2.549 MB / 290 MB, free: 30.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008468/0.1745, allocations: 303.8 kB / 290.3 MB, free: 30.65 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003302/0.1749, allocations: 156.8 kB / 290.5 MB, free: 30.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.305e-05/0.1749, allocations: 7.625 kB / 290.5 MB, free: 30.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.1749, allocations: 39.47 kB / 290.5 MB, free: 30.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 2.625e-06/0.1749, allocations: 0 / 290.5 MB, free: 30.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.005319/0.1803, allocations: 2.401 MB / 292.9 MB, free: 29.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.1803, allocations: 87.34 kB / 293 MB, free: 29.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008629/0.1889, allocations: 5.434 MB / 298.4 MB, free: 27.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000114/0.189, allocations: 35.86 kB / 298.5 MB, free: 27.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001088/0.1901, allocations: 1.154 MB / 299.6 MB, free: 26.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.1903, allocations: 179 kB / 299.8 MB, free: 26.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/0.1905, allocations: 88.86 kB / 299.9 MB, free: 26.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.964e-05/0.1906, allocations: 326.2 kB / 300.2 MB, free: 26.4 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003998/0.191, allocations: 140.4 kB / 300.4 MB, free: 26.35 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00043/0.1914, allocations: 222.5 kB / 300.6 MB, free: 26.22 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007734/0.1922, allocations: 382.2 kB / 300.9 MB, free: 26.01 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.1922, allocations: 1.375 kB / 300.9 MB, free: 26.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00211/0.1943, allocations: 0.7177 MB / 301.7 MB, free: 25.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.1943, allocations: 11.73 kB / 301.7 MB, free: 25.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.1943, allocations: 4.625 kB / 301.7 MB, free: 25.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.755e-05/0.1944, allocations: 3.969 kB / 301.7 MB, free: 25.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005448/0.1949, allocations: 119.2 kB / 301.8 MB, free: 25.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.657e-05/0.1949, allocations: 13.89 kB / 301.8 MB, free: 25.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008618/0.1958, allocations: 17.11 kB / 301.8 MB, free: 25.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/0.1958, allocations: 20.27 kB / 301.8 MB, free: 25.63 MB / 266.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.00143/0.1973, allocations: 0.9124 MB / 302.8 MB, free: 25.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004451/0.1977, allocations: 299.7 kB / 303.1 MB, free: 25.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001624/0.1993, allocations: 0.8003 MB / 303.9 MB, free: 24.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.1993, allocations: 4.453 kB / 303.9 MB, free: 24.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.1994, allocations: 3.625 kB / 303.9 MB, free: 24.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.1994, allocations: 2.297 kB / 303.9 MB, free: 24.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.2011, allocations: 1.174 MB / 305 MB, free: 23.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.2011, allocations: 0 / 305 MB, free: 23.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004338/0.2015, allocations: 99.84 kB / 305.1 MB, free: 23.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003433/0.2019, allocations: 91.52 kB / 305.2 MB, free: 23.83 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/0.2019, allocations: 15.33 kB / 305.2 MB, free: 23.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004318/0.2023, allocations: 0.6369 MB / 305.9 MB, free: 23.17 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2023, allocations: 3.719 kB / 305.9 MB, free: 23.17 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.2038, allocations: 1.097 MB / 307 MB, free: 22.13 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006142/0.2044, allocations: 431.4 kB / 307.4 MB, free: 21.71 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001698/0.2046, allocations: 23.28 kB / 307.4 MB, free: 21.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004693/0.205, allocations: 15.98 kB / 307.4 MB, free: 21.68 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.316e-05/0.2051, allocations: 36.38 kB / 307.5 MB, free: 21.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/0.2051, allocations: 15.98 kB / 307.5 MB, free: 21.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.00343/0.2086, allocations: 3.966 MB / 311.5 MB, free: 17.66 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2086, allocations: 0 / 311.5 MB, free: 17.66 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007593/0.2093, allocations: 206.5 kB / 311.7 MB, free: 17.46 MB / 266.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.002016/0.2114, allocations: 448 kB / 312.1 MB, free: 17.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008366/0.2122, allocations: 362 kB / 312.4 MB, free: 16.92 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.2122, allocations: 0 / 312.4 MB, free: 16.92 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004096/0.2126, allocations: 199.9 kB / 312.6 MB, free: 16.72 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.2137, allocations: 209 kB / 312.8 MB, free: 16.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005501/0.2192, allocations: 5.406 MB / 318.3 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/0.2204, allocations: 1.237 MB / 319.5 MB, free: 9.816 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0005241/0.2209, allocations: 271.5 kB / 319.8 MB, free: 9.547 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002501/0.2211, allocations: 92.48 kB / 319.8 MB, free: 9.457 MB / 266.7 MB Notification: Performance of SimCode: time 1.443e-06/0.2211, allocations: 0 / 319.8 MB, free: 9.457 MB / 266.7 MB Notification: Performance of Templates: time 0.02902/0.2501, allocations: 15.24 MB / 335.1 MB, free: 10.32 MB / 282.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins/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: 4.967578234965913]