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.InductorWithHysteresis.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.001497/0.001497, allocations: 113 kB / 21.17 MB, free: 0.7812 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.001695/0.001695, allocations: 218.7 kB / 24.47 MB, free: 4.359 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.385/1.385, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_4.1.0-beta.om_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.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") [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.001901/0.001901, allocations: 67.83 kB / 378.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2376, allocations: 53.33 MB / 432 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.00435/0.2419, allocations: 2.875 MB / 434.9 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00215/0.2441, allocations: 1.3 MB / 436.2 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.2442, allocations: 4 kB / 436.2 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002595/0.2445, allocations: 67.42 kB / 436.3 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005682/0.2451, allocations: 234.6 kB / 436.5 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.2454, allocations: 135.7 kB / 436.7 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005177/0.2459, allocations: 459 kB / 437.1 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.246, allocations: 62.25 kB / 437.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002995/0.2463, allocations: 191.4 kB / 437.3 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003178/0.2467, allocations: 227.1 kB / 437.6 MB, free: 1.824 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.434e-05/0.2467, allocations: 44 kB / 437.6 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003166/0.247, allocations: 167.9 kB / 437.8 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.088e-05/0.2471, allocations: 91.72 kB / 437.9 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001835/0.2473, allocations: 191 kB / 438.1 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006358/0.2479, allocations: 0.5059 MB / 438.6 MB, free: 0.832 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.248, allocations: 0 / 438.6 MB, free: 0.832 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.248, allocations: 0 / 438.6 MB, free: 0.832 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.862e-06/0.248, allocations: 0 / 438.6 MB, free: 0.832 MB / 334.1 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.001628/0.2496, allocations: 0.7168 MB / 439.3 MB, free: 68 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.2496, allocations: 12.03 kB / 439.3 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001894/0.2498, allocations: 44.73 kB / 439.3 MB, free: 12 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005295/0.2503, allocations: 333.5 kB / 439.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.155e-05/0.2504, allocations: 50.81 kB / 439.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.2506, allocations: 48.44 kB / 439.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006083/0.2512, allocations: 316.4 kB / 440.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.2512, allocations: 4 kB / 440.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.238e-05/0.2512, allocations: 8 kB / 440.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.2512, allocations: 15.94 kB / 440.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006813/0.2519, allocations: 302 kB / 440.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001804/0.2537, allocations: 1.164 MB / 441.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006379/0.2544, allocations: 280.2 kB / 441.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003315/0.2547, allocations: 160.9 kB / 442 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.2547, allocations: 4 kB / 442 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.2547, allocations: 34.56 kB / 442 MB, free: 13.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.784e-06/0.2547, allocations: 0 / 442 MB, free: 13.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.009396/0.2641, allocations: 2.426 MB / 444.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/0.2642, allocations: 81.11 kB / 444.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003725/0.2646, allocations: 292.9 kB / 444.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.42e-05/0.2646, allocations: 33.7 kB / 444.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.2648, allocations: 172.6 kB / 445 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.2649, allocations: 154.7 kB / 445.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.265, allocations: 78.11 kB / 445.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.2652, allocations: 338.8 kB / 445.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004215/0.2656, allocations: 168.7 kB / 445.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004502/0.2661, allocations: 226.7 kB / 446 MB, free: 9.074 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008801/0.267, allocations: 407.8 kB / 446.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.267, allocations: 0 / 446.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001049/0.268, allocations: 496.3 kB / 446.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.268, allocations: 12.19 kB / 446.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.268, allocations: 0 / 446.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.268, allocations: 4 kB / 446.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006052/0.2686, allocations: 111.9 kB / 447 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.2687, allocations: 4 kB / 447 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003868/0.269, allocations: 35.97 kB / 447 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.2691, allocations: 20 kB / 447 MB, free: 7.98 MB / 350.1 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.0002012/0.2693, allocations: 161.6 kB / 447.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.696e-05/0.2694, allocations: 31.81 kB / 447.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001871/0.2712, allocations: 0.6486 MB / 447.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.2713, allocations: 4 kB / 447.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2713, allocations: 0 / 447.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2713, allocations: 0 / 447.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003246/0.2745, allocations: 1.272 MB / 449.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2745, allocations: 0 / 449.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004564/0.275, allocations: 95.88 kB / 449.2 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001568/0.2765, allocations: 280.4 kB / 449.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.476e-05/0.2766, allocations: 8 kB / 449.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004163/0.2807, allocations: 2.44 MB / 451.9 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.2807, allocations: 4.172 kB / 452 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/0.2831, allocations: 1.008 MB / 453 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/0.2833, allocations: 148.8 kB / 453.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.131e-05/0.2833, allocations: 12 kB / 453.1 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004419/0.2838, allocations: 31.97 kB / 453.1 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.2839, allocations: 32.39 kB / 453.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-05/0.2839, allocations: 15.98 kB / 453.2 MB, free: 1.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002314/0.2841, allocations: 212.5 kB / 453.4 MB, free: 1.336 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2841, allocations: 0 / 453.4 MB, free: 1.336 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005371/0.2847, allocations: 123.9 kB / 453.5 MB, free: 1.215 MB / 350.1 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.0002998/0.285, allocations: 143.1 kB / 453.7 MB, free: 1.066 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009945/0.286, allocations: 409.9 kB / 454.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.286, allocations: 0 / 454.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007143/0.2867, allocations: 376.8 kB / 454.4 MB, free: 296 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004639/0.2871, allocations: 40.86 kB / 454.5 MB, free: 256 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.289, allocations: 1.003 MB / 455.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004342/0.2894, allocations: 0.7891 MB / 456.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.2896, allocations: 43.41 kB / 456.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2896, allocations: 0 / 456.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of Templates: time 0.009027/0.2986, allocations: 5.779 MB / 462.1 MB, free: 8.57 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 6.8081949250772595]