Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001179/0.001179, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005654/0.006833, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.001014/0.001014, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001424/0.002438, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9366/0.9366, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.185/1.122, allocations: 49.5 MB / 220.7 MB, free: 1.352 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 222 MB, free: 68 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.366e-05, allocations: 6.312 kB / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.00455/0.004573, allocations: 2.81 MB / 224.8 MB, free: 13.22 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002399/0.006972, allocations: 1.274 MB / 226.1 MB, free: 11.94 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001997/0.007172, allocations: 4 kB / 226.1 MB, free: 11.93 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002349/0.007406, allocations: 59.44 kB / 226.1 MB, free: 11.88 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006166/0.008023, allocations: 238.4 kB / 226.4 MB, free: 11.64 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.008363, allocations: 115.8 kB / 226.5 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005566/0.00892, allocations: 462.9 kB / 226.9 MB, free: 11.07 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.009091, allocations: 66.8 kB / 227 MB, free: 11.01 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005009/0.009592, allocations: 321.3 kB / 227.3 MB, free: 10.7 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003132/0.009905, allocations: 175.6 kB / 227.5 MB, free: 10.52 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.839e-05/0.009973, allocations: 40 kB / 227.5 MB, free: 10.48 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003474/0.01032, allocations: 155.9 kB / 227.7 MB, free: 10.33 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.708e-05/0.0104, allocations: 71.73 kB / 227.7 MB, free: 10.26 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.01052, allocations: 103.8 kB / 227.8 MB, free: 10.16 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005379/0.01106, allocations: 342.8 kB / 228.2 MB, free: 9.824 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.539e-05/0.01108, allocations: 4 kB / 228.2 MB, free: 9.82 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.01108, allocations: 0 / 228.2 MB, free: 9.82 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.01109, allocations: 4 kB / 228.2 MB, free: 9.816 MB / 234.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.001319/0.01241, allocations: 0.6749 MB / 228.9 MB, free: 9.117 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.01245, allocations: 8.031 kB / 228.9 MB, free: 9.109 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.01256, allocations: 44.91 kB / 228.9 MB, free: 9.066 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.01294, allocations: 201.2 kB / 229.1 MB, free: 8.84 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.01305, allocations: 102.3 kB / 229.2 MB, free: 8.719 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.01319, allocations: 48.62 kB / 229.3 MB, free: 8.672 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003933/0.01359, allocations: 272.5 kB / 229.5 MB, free: 8.383 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.0136, allocations: 7.938 kB / 229.5 MB, free: 8.375 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.01363, allocations: 8 kB / 229.5 MB, free: 8.367 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.01364, allocations: 8 kB / 229.5 MB, free: 8.359 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002424/0.01388, allocations: 125.3 kB / 229.7 MB, free: 8.234 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.01511, allocations: 0.7771 MB / 230.4 MB, free: 7.418 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.0154, allocations: 173 kB / 230.6 MB, free: 7.23 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.01552, allocations: 73.69 kB / 230.7 MB, free: 7.152 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.01555, allocations: 8 kB / 230.7 MB, free: 7.145 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.01558, allocations: 42.55 kB / 230.7 MB, free: 7.094 MB / 234.7 MB Notification: Performance of pre-optimization done (n=31): time 1.703e-06/0.01559, allocations: 0 / 230.7 MB, free: 7.094 MB / 234.7 MB Notification: Performance of matching and sorting (n=42): time 0.006104/0.02169, allocations: 1.937 MB / 232.7 MB, free: 5.121 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.02174, allocations: 81.11 kB / 232.8 MB, free: 5.023 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.02197, allocations: 242.6 kB / 233 MB, free: 4.77 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.022, allocations: 29.7 kB / 233 MB, free: 4.734 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.072e-05/0.02209, allocations: 156.6 kB / 233.2 MB, free: 4.578 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.02221, allocations: 154.6 kB / 233.3 MB, free: 4.426 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.02234, allocations: 78.14 kB / 233.4 MB, free: 4.344 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.02247, allocations: 338.8 kB / 233.7 MB, free: 4.004 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.02258, allocations: 52.97 kB / 233.8 MB, free: 3.953 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.02273, allocations: 123.2 kB / 233.9 MB, free: 3.816 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.02303, allocations: 199.6 kB / 234.1 MB, free: 3.602 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.02303, allocations: 4 kB / 234.1 MB, free: 3.598 MB / 234.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003892/0.02342, allocations: 236.6 kB / 234.3 MB, free: 3.359 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.02344, allocations: 8 kB / 234.3 MB, free: 3.352 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.02345, allocations: 3.938 kB / 234.3 MB, free: 3.348 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.02347, allocations: 7.938 kB / 234.3 MB, free: 3.34 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005004/0.02397, allocations: 135.8 kB / 234.5 MB, free: 3.207 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.02398, allocations: 4 kB / 234.5 MB, free: 3.203 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/0.02419, allocations: 32.14 kB / 234.5 MB, free: 3.172 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.158e-05/0.02423, allocations: 15.98 kB / 234.5 MB, free: 3.156 MB / 234.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.0001289/0.02435, allocations: 129.7 kB / 234.7 MB, free: 3.02 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.534e-05/0.02445, allocations: 35.91 kB / 234.7 MB, free: 2.984 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008277/0.02528, allocations: 374.9 kB / 235.1 MB, free: 2.605 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.02529, allocations: 7.938 kB / 235.1 MB, free: 2.598 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.02529, allocations: 4 kB / 235.1 MB, free: 2.594 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.0253, allocations: 0 / 235.1 MB, free: 2.594 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.02692, allocations: 0.685 MB / 235.8 MB, free: 1.883 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.02693, allocations: 0 / 235.8 MB, free: 1.883 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003843/0.02731, allocations: 119.8 kB / 235.9 MB, free: 1.766 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.02744, allocations: 39.75 kB / 235.9 MB, free: 1.727 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007062/0.02815, allocations: 236.5 kB / 236.1 MB, free: 1.492 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.02817, allocations: 11.98 kB / 236.2 MB, free: 1.48 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/0.0297, allocations: 1.688 MB / 237.8 MB, free: 15.71 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.0297, allocations: 0 / 237.8 MB, free: 15.71 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006806/0.03038, allocations: 0.5812 MB / 238.4 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.03042, allocations: 8 kB / 238.4 MB, free: 15.1 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.03059, allocations: 31.95 kB / 238.5 MB, free: 15.07 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.745e-05/0.03065, allocations: 40.36 kB / 238.5 MB, free: 15.03 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.03067, allocations: 12 kB / 238.5 MB, free: 15.02 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.85e-05/0.03075, allocations: 93.59 kB / 238.6 MB, free: 14.92 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03075, allocations: 0 / 238.6 MB, free: 14.92 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003059/0.03105, allocations: 111.9 kB / 238.7 MB, free: 14.81 MB / 250.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.0001933/0.03125, allocations: 132.2 kB / 238.8 MB, free: 14.67 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003028/0.03155, allocations: 205.1 kB / 239 MB, free: 14.47 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.454e-05/0.03157, allocations: 7.938 kB / 239.1 MB, free: 14.46 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003078/0.03187, allocations: 307.7 kB / 239.4 MB, free: 14.15 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.03223, allocations: 327.7 kB / 239.7 MB, free: 13.77 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002624/0.03486, allocations: 0.7382 MB / 240.4 MB, free: 13 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.087e-05/0.03494, allocations: 106.6 kB / 240.5 MB, free: 12.88 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.03506, allocations: 43 kB / 240.6 MB, free: 12.84 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.03523, allocations: 111.3 kB / 240.7 MB, free: 12.73 MB / 250.7 MB Notification: Performance of SimCode: time 7.21e-07/0.03523, allocations: 0 / 240.7 MB, free: 12.73 MB / 250.7 MB Notification: Performance of Templates: time 0.008561/0.04379, allocations: 6.978 MB / 247.6 MB, free: 5.77 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8249679571017623]