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.001561/0.001561, allocations: 116.9 kB / 18.41 MB, free: 4.656 MB / 14.72 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.001634/0.001634, allocations: 190.9 kB / 21.35 MB, free: 1.723 MB / 14.72 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.393/1.393, allocations: 222.9 MB / 247 MB, free: 4.203 MB / 190.1 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 0.001565/0.001565, allocations: 55.91 kB / 358.7 MB, free: 8.324 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1082, allocations: 49.43 MB / 408.1 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004491/0.1127, allocations: 2.805 MB / 410.9 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002201/0.1149, allocations: 1.238 MB / 412.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.1151, allocations: 3.938 kB / 412.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002997/0.1155, allocations: 71.44 kB / 412.2 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006042/0.1161, allocations: 230.6 kB / 412.4 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.1164, allocations: 111.8 kB / 412.6 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004851/0.1168, allocations: 463 kB / 413 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.117, allocations: 84.69 kB / 413.1 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002678/0.1173, allocations: 187.4 kB / 413.3 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003591/0.1177, allocations: 219.2 kB / 413.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.177e-05/0.1178, allocations: 40 kB / 413.5 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003528/0.1181, allocations: 163.9 kB / 413.7 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.1183, allocations: 87.67 kB / 413.8 MB, free: 1.148 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002223/0.1185, allocations: 191.1 kB / 414 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007675/0.1193, allocations: 0.502 MB / 414.5 MB, free: 468 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.1193, allocations: 3.938 kB / 414.5 MB, free: 464 kB / 334.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1193, allocations: 0 / 414.5 MB, free: 464 kB / 334.1 MB Notification: Performance of Transformations before backend: time 8.697e-06/0.1193, allocations: 7.938 kB / 414.5 MB, free: 456 kB / 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.001852/0.1212, allocations: 0.7129 MB / 415.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.1212, allocations: 8.031 kB / 415.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.1214, allocations: 40.7 kB / 415.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006572/0.122, allocations: 329.5 kB / 415.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.196e-05/0.1221, allocations: 50.83 kB / 415.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/0.1223, allocations: 44.42 kB / 415.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006771/0.123, allocations: 316.5 kB / 416 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.123, allocations: 4 kB / 416 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.672e-05/0.1231, allocations: 12 kB / 416 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.1231, allocations: 4 kB / 416 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007095/0.1238, allocations: 306 kB / 416.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.1257, allocations: 1.16 MB / 417.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006587/0.1264, allocations: 294.2 kB / 417.7 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003541/0.1267, allocations: 163.7 kB / 417.9 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.1268, allocations: 7.938 kB / 417.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.1268, allocations: 42.55 kB / 417.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.803e-06/0.1268, allocations: 4 kB / 417.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.009417/0.1363, allocations: 2.42 MB / 420.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.1364, allocations: 85.05 kB / 420.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004119/0.1368, allocations: 285 kB / 420.7 MB, free: 9.887 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.016e-05/0.1368, allocations: 37.7 kB / 420.8 MB, free: 9.844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.137, allocations: 168.6 kB / 420.9 MB, free: 9.676 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.1371, allocations: 154.7 kB / 421.1 MB, free: 9.523 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.1373, allocations: 82.09 kB / 421.1 MB, free: 9.434 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002081/0.1375, allocations: 342.8 kB / 421.5 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004372/0.138, allocations: 160.8 kB / 421.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004818/0.1385, allocations: 230.7 kB / 421.9 MB, free: 8.691 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009261/0.1394, allocations: 415.5 kB / 422.3 MB, free: 8.266 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.1394, allocations: 7.938 kB / 422.3 MB, free: 8.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001109/0.1405, allocations: 484.6 kB / 422.8 MB, free: 7.777 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.1406, allocations: 8 kB / 422.8 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.1406, allocations: 0 / 422.8 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.1406, allocations: 4 kB / 422.8 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006015/0.1412, allocations: 119.8 kB / 422.9 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.1412, allocations: 4 kB / 422.9 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003822/0.1416, allocations: 36.02 kB / 422.9 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-05/0.1417, allocations: 19.98 kB / 422.9 MB, free: 7.59 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.0002175/0.1419, allocations: 157.6 kB / 423.1 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.142, allocations: 35.81 kB / 423.1 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001893/0.1439, allocations: 0.6563 MB / 423.8 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.1439, allocations: 8 kB / 423.8 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.1439, allocations: 7.984 kB / 423.8 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/0.144, allocations: 3.984 kB / 423.8 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003308/0.1473, allocations: 1.268 MB / 425.1 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1473, allocations: 4 kB / 425.1 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004535/0.1478, allocations: 91.88 kB / 425.2 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001531/0.1493, allocations: 268.5 kB / 425.4 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.284e-05/0.1494, allocations: 15.98 kB / 425.4 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004431/0.1538, allocations: 2.432 MB / 427.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1538, allocations: 0 / 427.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002465/0.1563, allocations: 1.023 MB / 428.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002249/0.1565, allocations: 144.9 kB / 429 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.445e-05/0.1566, allocations: 8 kB / 429 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004252/0.157, allocations: 23.98 kB / 429.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.1572, allocations: 36.38 kB / 429.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.1572, allocations: 16 kB / 429.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002724/0.1575, allocations: 216.5 kB / 429.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1575, allocations: 0 / 429.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000591/0.1581, allocations: 115.9 kB / 429.4 MB, free: 0.8164 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.0003146/0.1584, allocations: 149.6 kB / 429.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.1594, allocations: 437.9 kB / 430 MB, free: 244 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1595, allocations: 0 / 430 MB, free: 244 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.187/0.3465, allocations: 379.7 kB / 430.4 MB, free: 22.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007048/0.3472, allocations: 44.45 kB / 430.4 MB, free: 22.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.3489, allocations: 1 MB / 431.4 MB, free: 22.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.3491, allocations: 0.7883 MB / 432.2 MB, free: 21.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.3492, allocations: 43.11 kB / 432.3 MB, free: 21.84 MB / 350.1 MB Notification: Performance of SimCode: time 4.8e-07/0.3492, allocations: 0 / 432.3 MB, free: 21.84 MB / 350.1 MB Notification: Performance of Templates: time 0.009442/0.3587, allocations: 5.72 MB / 438 MB, free: 21.48 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.466950920992531]