Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001327/0.001327, allocations: 117.2 kB / 18.5 MB, free: 4.543 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.001349/0.001349, allocations: 202.6 kB / 21.45 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 63.89 kB / 373.8 MB, free: 9.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1163, allocations: 53.33 MB / 427.2 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004492/0.1208, allocations: 2.859 MB / 430 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.123, allocations: 1.292 MB / 431.3 MB, free: 312 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.1231, allocations: 4 kB / 431.3 MB, free: 308 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002564/0.1234, allocations: 71.41 kB / 431.4 MB, free: 236 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005554/0.1239, allocations: 230.7 kB / 431.6 MB, free: 4 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.199/0.323, allocations: 123.6 kB / 431.7 MB, free: 8.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006354/0.3236, allocations: 465.2 kB / 432.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.3238, allocations: 61.02 kB / 432.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003232/0.3241, allocations: 196.7 kB / 432.4 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002722/0.3244, allocations: 221.4 kB / 432.6 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.811e-05/0.3244, allocations: 40.94 kB / 432.7 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003461/0.3248, allocations: 167 kB / 432.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.287e-05/0.3248, allocations: 95.77 kB / 432.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.325, allocations: 182.7 kB / 433.1 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005277/0.3255, allocations: 0.5124 MB / 433.6 MB, free: 8.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.3255, allocations: 0.8125 kB / 433.6 MB, free: 8.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3255, allocations: 0 / 433.6 MB, free: 8.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.3255, allocations: 0.875 kB / 433.6 MB, free: 8.02 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.00152/0.327, allocations: 0.7191 MB / 434.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.3271, allocations: 13.84 kB / 434.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.3273, allocations: 48.38 kB / 434.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004263/0.3277, allocations: 325.7 kB / 434.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.327e-05/0.3278, allocations: 53.86 kB / 434.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/0.3279, allocations: 37.67 kB / 434.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005769/0.3285, allocations: 325.5 kB / 435.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.3285, allocations: 0 / 435.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.3285, allocations: 9.844 kB / 435.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.3286, allocations: 8.25 kB / 435.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006803/0.3292, allocations: 303 kB / 435.5 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/0.3309, allocations: 1.17 MB / 436.6 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006129/0.3315, allocations: 280.8 kB / 436.9 MB, free: 6.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/0.3318, allocations: 155 kB / 437 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.3318, allocations: 5 kB / 437.1 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.3319, allocations: 39.73 kB / 437.1 MB, free: 6.516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.954e-06/0.3319, allocations: 0 / 437.1 MB, free: 6.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.009149/0.341, allocations: 2.416 MB / 439.5 MB, free: 5.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.341, allocations: 86.5 kB / 439.6 MB, free: 5.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003278/0.3414, allocations: 290.8 kB / 439.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.3414, allocations: 34.89 kB / 439.9 MB, free: 5.406 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.275e-05/0.3415, allocations: 166.7 kB / 440.1 MB, free: 5.266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.767e-05/0.3416, allocations: 155.6 kB / 440.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.3417, allocations: 83.97 kB / 440.3 MB, free: 5.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.777e-05/0.3418, allocations: 343.3 kB / 440.6 MB, free: 4.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004014/0.3422, allocations: 161.8 kB / 440.8 MB, free: 4.711 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004157/0.3426, allocations: 232.1 kB / 441 MB, free: 4.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007723/0.3434, allocations: 405.7 kB / 441.4 MB, free: 4.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3434, allocations: 3.938 kB / 441.4 MB, free: 4.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001111/0.3445, allocations: 485.1 kB / 441.9 MB, free: 4.195 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.3445, allocations: 5.812 kB / 441.9 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.3445, allocations: 6.25 kB / 441.9 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.3445, allocations: 6.719 kB / 441.9 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000609/0.3451, allocations: 114.6 kB / 442 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.3452, allocations: 7.656 kB / 442 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003917/0.3456, allocations: 31.45 kB / 442.1 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.235e-05/0.3456, allocations: 23.25 kB / 442.1 MB, free: 4.172 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.0001674/0.3458, allocations: 153.1 kB / 442.2 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.3459, allocations: 31.12 kB / 442.3 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001857/0.3477, allocations: 0.6531 MB / 442.9 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.3477, allocations: 5.953 kB / 442.9 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.3477, allocations: 1.312 kB / 442.9 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.3478, allocations: 4.125 kB / 442.9 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003098/0.3508, allocations: 1.264 MB / 444.2 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.3509, allocations: 3.531 kB / 444.2 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004495/0.3513, allocations: 93.34 kB / 444.3 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001536/0.3528, allocations: 275.8 kB / 444.6 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.392e-05/0.3529, allocations: 12.73 kB / 444.6 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003597/0.3565, allocations: 2.444 MB / 447 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3565, allocations: 2.656 kB / 447 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002272/0.3588, allocations: 1.007 MB / 448 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/0.3589, allocations: 146.9 kB / 448.2 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.161e-05/0.359, allocations: 11.42 kB / 448.2 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004452/0.3595, allocations: 28.86 kB / 448.2 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.3596, allocations: 34.88 kB / 448.2 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.793e-05/0.3596, allocations: 14.72 kB / 448.3 MB, free: 472 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002447/0.3599, allocations: 212.6 kB / 448.5 MB, free: 340 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3599, allocations: 1.125 kB / 448.5 MB, free: 340 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006428/0.3605, allocations: 118.5 kB / 448.6 MB, free: 320 kB / 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.0002761/0.3608, allocations: 146.5 kB / 448.7 MB, free: 216 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.3619, allocations: 410.6 kB / 449.1 MB, free: 92 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3619, allocations: 0 / 449.1 MB, free: 92 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007609/0.3626, allocations: 369.9 kB / 449.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004848/0.3631, allocations: 44.22 kB / 449.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.365, allocations: 0.9816 MB / 450.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004662/0.3655, allocations: 0.7869 MB / 451.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002388/0.3657, allocations: 45.45 kB / 451.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.3659, allocations: 38.53 kB / 451.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3659, allocations: 1.375 kB / 451.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of Templates: time 0.01303/0.3789, allocations: 6.479 MB / 457.9 MB, free: 12.41 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.772459679283202]