Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.0006845/0.0006845, allocations: 84 kB / 21.43 MB, free: 3.129 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.006202/0.006202, allocations: 141 kB / 24.68 MB, free: 9.43 MB / 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 0.8649/0.8649, allocations: 173.4 MB / 201.2 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] 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.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.697e-05/2.902e-05, allocations: 5.516 kB / 319.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.002962/0.002991, allocations: 2.656 MB / 322.3 MB, free: 3.176 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.004261, allocations: 1.156 MB / 323.5 MB, free: 2.012 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.004374, allocations: 11.94 kB / 323.5 MB, free: 2 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.004594, allocations: 71.36 kB / 323.6 MB, free: 1.93 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003907/0.004985, allocations: 226.6 kB / 323.8 MB, free: 1.707 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.005156, allocations: 123.7 kB / 323.9 MB, free: 1.586 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.005469, allocations: 474.9 kB / 324.4 MB, free: 1.117 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.005605, allocations: 56.89 kB / 324.4 MB, free: 1.062 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.005839, allocations: 267.4 kB / 324.7 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.006022, allocations: 179.5 kB / 324.9 MB, free: 0.625 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.068e-05/0.006063, allocations: 40 kB / 324.9 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.006256, allocations: 159.9 kB / 325.1 MB, free: 440 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.39e-05/0.00631, allocations: 91.7 kB / 325.2 MB, free: 348 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.704e-05/0.006397, allocations: 135.6 kB / 325.3 MB, free: 212 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004609/0.006858, allocations: 0.5413 MB / 325.8 MB, free: 15.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.006861, allocations: 0 / 325.8 MB, free: 15.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.006863, allocations: 0 / 325.8 MB, free: 15.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.006868, allocations: 0 / 325.8 MB, free: 15.66 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009492/0.007817, allocations: 0.6376 MB / 326.5 MB, free: 15 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.007853, allocations: 12.86 kB / 326.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.984e-05/0.007923, allocations: 36.7 kB / 326.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004343/0.008358, allocations: 274.5 kB / 326.8 MB, free: 14.65 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.008469, allocations: 106.3 kB / 326.9 MB, free: 14.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001651/0.008634, allocations: 40.73 kB / 326.9 MB, free: 14.49 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004629/0.009097, allocations: 343.8 kB / 327.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.00911, allocations: 3.938 kB / 327.3 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/0.009136, allocations: 11.98 kB / 327.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.009145, allocations: 15.92 kB / 327.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004179/0.009563, allocations: 293.8 kB / 327.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.01083, allocations: 0.996 MB / 328.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003808/0.01121, allocations: 273 kB / 328.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.0114, allocations: 157.6 kB / 329 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.01142, allocations: 15.98 kB / 329 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.01144, allocations: 34.5 kB / 329.1 MB, free: 12.26 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.573e-06/0.01144, allocations: 4 kB / 329.1 MB, free: 12.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.004701/0.01614, allocations: 2.277 MB / 331.3 MB, free: 9.945 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.01619, allocations: 81.11 kB / 331.4 MB, free: 9.848 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.01644, allocations: 289.7 kB / 331.7 MB, free: 9.551 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.01647, allocations: 29.7 kB / 331.7 MB, free: 9.516 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.935e-05/0.01655, allocations: 168.7 kB / 331.9 MB, free: 9.344 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.878e-05/0.01662, allocations: 158.6 kB / 332 MB, free: 9.188 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.262e-05/0.01672, allocations: 78.17 kB / 332.1 MB, free: 9.105 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.619e-05/0.0168, allocations: 338.8 kB / 332.5 MB, free: 8.766 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.01703, allocations: 160.9 kB / 332.6 MB, free: 8.609 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.01729, allocations: 227.3 kB / 332.8 MB, free: 8.367 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004965/0.01779, allocations: 407.8 kB / 333.2 MB, free: 7.949 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.01779, allocations: 0 / 333.2 MB, free: 7.949 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005924/0.01838, allocations: 480.9 kB / 333.7 MB, free: 7.473 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.0184, allocations: 11.94 kB / 333.7 MB, free: 7.461 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.01841, allocations: 7.922 kB / 333.7 MB, free: 7.453 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.01843, allocations: 4 kB / 333.7 MB, free: 7.449 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/0.01872, allocations: 119.8 kB / 333.8 MB, free: 7.332 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.01873, allocations: 4 kB / 333.8 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.0189, allocations: 35.97 kB / 333.9 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.01892, allocations: 19.98 kB / 333.9 MB, free: 7.273 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 52 * 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.0001324/0.01906, allocations: 153.7 kB / 334 MB, free: 7.113 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.655e-05/0.01911, allocations: 35.73 kB / 334.1 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.02016, allocations: 0.6424 MB / 334.7 MB, free: 6.434 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.02017, allocations: 7.938 kB / 334.7 MB, free: 6.426 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.02017, allocations: 3.938 kB / 334.7 MB, free: 6.422 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.02018, allocations: 8 kB / 334.7 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00186/0.02204, allocations: 1.121 MB / 335.9 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.02204, allocations: 7.922 kB / 335.9 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002237/0.02227, allocations: 91.89 kB / 336 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007559/0.02302, allocations: 272.5 kB / 336.2 MB, free: 4.887 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.02305, allocations: 12 kB / 336.2 MB, free: 4.875 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00233/0.02538, allocations: 2.274 MB / 338.5 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.02538, allocations: 3.984 kB / 338.5 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.0267, allocations: 1.006 MB / 339.5 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.02683, allocations: 67.8 kB / 339.6 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.02686, allocations: 15.94 kB / 339.6 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.02707, allocations: 35.91 kB / 339.6 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.12e-05/0.02716, allocations: 32.44 kB / 339.7 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.02718, allocations: 15.98 kB / 339.7 MB, free: 1.301 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001596/0.02734, allocations: 217.1 kB / 339.9 MB, free: 1.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02734, allocations: 0 / 339.9 MB, free: 1.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004011/0.02774, allocations: 115.9 kB / 340 MB, free: 0.9727 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (winding.i,core.Hstat,core.B,core.MagRel) * 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 (40): * Single equations (assignments): 39 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002568/0.028, allocations: 151.3 kB / 340.2 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005993/0.0286, allocations: 411.3 kB / 340.6 MB, free: 424 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.0286, allocations: 4.062 kB / 340.6 MB, free: 420 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004241/0.02903, allocations: 369.4 kB / 340.9 MB, free: 36 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.02935, allocations: 40.17 kB / 341 MB, free: 4 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.03046, allocations: 0.8677 MB / 341.8 MB, free: 15.1 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.03057, allocations: 187 kB / 342 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.03068, allocations: 40.48 kB / 342.1 MB, free: 14.85 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.03068, allocations: 0 / 342.1 MB, free: 14.85 MB / 314.7 MB Notification: Performance of Templates: time 0.005613/0.0363, allocations: 5.866 MB / 347.9 MB, free: 8.988 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.139808611944318]