Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.416/1.416, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 325.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.751e-05/1.895e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003856/0.003875, allocations: 2.693 MB / 327.8 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.006032, allocations: 1.206 MB / 329 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.006181, allocations: 6.562 kB / 329 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002663/0.006448, allocations: 67.45 kB / 329 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006117/0.007059, allocations: 231.2 kB / 329.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003604/0.00742, allocations: 133.6 kB / 329.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005252/0.007945, allocations: 477.5 kB / 329.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.008089, allocations: 58.16 kB / 329.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004073/0.008496, allocations: 269.7 kB / 330.2 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003029/0.008799, allocations: 178.5 kB / 330.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.008e-05/0.008869, allocations: 40.44 kB / 330.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003072/0.009176, allocations: 167.8 kB / 330.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.723e-05/0.009273, allocations: 90.7 kB / 330.7 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001753/0.009449, allocations: 133.7 kB / 330.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006913/0.01014, allocations: 0.5498 MB / 331.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.01014, allocations: 0 / 331.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.01015, allocations: 0 / 331.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.01015, allocations: 5.094 kB / 331.3 MB, free: 12.63 MB / 302.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.001636/0.01179, allocations: 0.6348 MB / 332 MB, free: 12.13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.01182, allocations: 9.75 kB / 332 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/0.01202, allocations: 45.58 kB / 332 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004463/0.01247, allocations: 278.4 kB / 332.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.01257, allocations: 100.8 kB / 332.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.01273, allocations: 39.28 kB / 332.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000655/0.01338, allocations: 354.9 kB / 332.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.0134, allocations: 9.109 kB / 332.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/0.01344, allocations: 11.44 kB / 332.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.01345, allocations: 4.812 kB / 332.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006947/0.01414, allocations: 301.6 kB / 333.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.01588, allocations: 0.9967 MB / 334.1 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006329/0.01651, allocations: 275.5 kB / 334.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003394/0.01685, allocations: 158.5 kB / 334.5 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.01687, allocations: 8.031 kB / 334.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.01691, allocations: 37 kB / 334.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.793e-06/0.01691, allocations: 1.094 kB / 334.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.009394/0.0263, allocations: 2.265 MB / 336.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.02636, allocations: 82.77 kB / 336.9 MB, free: 8.969 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003794/0.02674, allocations: 302.7 kB / 337.2 MB, free: 8.762 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.61e-05/0.02679, allocations: 30.7 kB / 337.2 MB, free: 8.727 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.02693, allocations: 171.2 kB / 337.4 MB, free: 8.566 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.02707, allocations: 150.5 kB / 337.5 MB, free: 8.434 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.02722, allocations: 79.08 kB / 337.6 MB, free: 8.359 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.02739, allocations: 346.8 kB / 338 MB, free: 8.012 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004205/0.02781, allocations: 160.9 kB / 338.1 MB, free: 7.855 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004723/0.02828, allocations: 227.3 kB / 338.3 MB, free: 7.613 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008921/0.02917, allocations: 403.6 kB / 338.7 MB, free: 7.199 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.02918, allocations: 3.938 kB / 338.7 MB, free: 7.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001084/0.03026, allocations: 488.7 kB / 339.2 MB, free: 6.711 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.03028, allocations: 7.938 kB / 339.2 MB, free: 6.703 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.03028, allocations: 4 kB / 339.2 MB, free: 6.699 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.0303, allocations: 4 kB / 339.2 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000627/0.03093, allocations: 119.8 kB / 339.4 MB, free: 6.578 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.03094, allocations: 12.12 kB / 339.4 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003948/0.03134, allocations: 31.98 kB / 339.4 MB, free: 6.535 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.045e-05/0.03138, allocations: 19.98 kB / 339.4 MB, free: 6.516 MB / 302.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.0001917/0.03157, allocations: 145.8 kB / 339.6 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.03167, allocations: 35.75 kB / 339.6 MB, free: 6.328 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001944/0.03361, allocations: 0.6501 MB / 340.2 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.03362, allocations: 7.938 kB / 340.3 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.03363, allocations: 4 kB / 340.3 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.03364, allocations: 3.984 kB / 340.3 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003182/0.03682, allocations: 1.121 MB / 341.4 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/0.03682, allocations: 3.938 kB / 341.4 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004511/0.03727, allocations: 95.88 kB / 341.5 MB, free: 4.391 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001607/0.03888, allocations: 276.4 kB / 341.7 MB, free: 4.117 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.03892, allocations: 7.984 kB / 341.8 MB, free: 4.109 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004229/0.04315, allocations: 2.278 MB / 344 MB, free: 1.727 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.04315, allocations: 0 / 344 MB, free: 1.727 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00244/0.04559, allocations: 1.014 MB / 345 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/0.04578, allocations: 75.78 kB / 345.1 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.426e-05/0.04585, allocations: 8 kB / 345.1 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004643/0.04631, allocations: 27.92 kB / 345.2 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.04644, allocations: 40.42 kB / 345.2 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.573e-05/0.04648, allocations: 12 kB / 345.2 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002613/0.04674, allocations: 213.2 kB / 345.4 MB, free: 332 kB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.04674, allocations: 0 / 345.4 MB, free: 332 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.000581/0.04732, allocations: 119.9 kB / 345.5 MB, free: 212 kB / 302.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.000306/0.04763, allocations: 147 kB / 345.7 MB, free: 52 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.04867, allocations: 411.4 kB / 346.1 MB, free: 15.65 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.04867, allocations: 0 / 346.1 MB, free: 15.65 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007307/0.0494, allocations: 377.3 kB / 346.4 MB, free: 15.27 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004824/0.04988, allocations: 40.19 kB / 346.5 MB, free: 15.23 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.0516, allocations: 0.8423 MB / 347.3 MB, free: 14.37 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.05179, allocations: 183.1 kB / 347.5 MB, free: 14.16 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001931/0.05199, allocations: 42.95 kB / 347.5 MB, free: 14.12 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.05215, allocations: 40.47 kB / 347.6 MB, free: 14.08 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.05215, allocations: 0 / 347.6 MB, free: 14.08 MB / 318.1 MB Notification: Performance of Templates: time 0.01269/0.06484, allocations: 6.111 MB / 353.7 MB, free: 8.004 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.433601174503565]