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.0009345/0.0009345, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001281/0.002215, allocations: 445.7 kB / 10.37 MB, free: 328 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.0009063/0.0009063, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001167/0.002073, allocations: 463.6 kB / 11.71 MB, free: 2.453 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.898/0.898, allocations: 158.6 MB / 171.1 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1788/1.077, allocations: 49.49 MB / 220.6 MB, free: 1.453 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.353e-06/1.353e-06, allocations: 0 / 221.8 MB, free: 188 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.762e-05/1.898e-05, allocations: 6.25 kB / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.002828/0.002847, allocations: 2.802 MB / 224.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.004532, allocations: 1.274 MB / 225.9 MB, free: 12.07 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.004684, allocations: 4 kB / 225.9 MB, free: 12.06 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001601/0.004844, allocations: 63.42 kB / 226 MB, free: 12 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004073/0.005251, allocations: 230.4 kB / 226.2 MB, free: 11.77 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002145/0.005466, allocations: 119.7 kB / 226.3 MB, free: 11.66 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003338/0.005799, allocations: 462.9 kB / 226.8 MB, free: 11.2 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.00593, allocations: 54.88 kB / 226.8 MB, free: 11.15 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003395/0.006269, allocations: 333.2 kB / 227.2 MB, free: 10.82 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.006481, allocations: 175.6 kB / 227.3 MB, free: 10.65 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.79e-05/0.006529, allocations: 40 kB / 227.4 MB, free: 10.61 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002319/0.006761, allocations: 159.9 kB / 227.5 MB, free: 10.46 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.064e-05/0.006811, allocations: 67.8 kB / 227.6 MB, free: 10.39 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.813e-05/0.0069, allocations: 107.8 kB / 227.7 MB, free: 10.29 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003495/0.007249, allocations: 338.8 kB / 228 MB, free: 9.953 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.389e-05/0.007263, allocations: 0 / 228 MB, free: 9.953 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.007264, allocations: 0 / 228 MB, free: 9.953 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.007278, allocations: 0 / 228 MB, free: 9.953 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.0009446/0.008223, allocations: 0.6826 MB / 228.7 MB, free: 9.246 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.008254, allocations: 12.03 kB / 228.7 MB, free: 9.234 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.699e-05/0.008321, allocations: 44.91 kB / 228.8 MB, free: 9.191 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.008561, allocations: 197.2 kB / 229 MB, free: 8.973 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.302e-05/0.008654, allocations: 106.3 kB / 229.1 MB, free: 8.848 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.008765, allocations: 48.62 kB / 229.1 MB, free: 8.801 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003024/0.009067, allocations: 276.5 kB / 229.4 MB, free: 8.504 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.00908, allocations: 3.938 kB / 229.4 MB, free: 8.5 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.009102, allocations: 12 kB / 229.4 MB, free: 8.488 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.009109, allocations: 8 kB / 229.4 MB, free: 8.48 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000179/0.009288, allocations: 125.3 kB / 229.5 MB, free: 8.359 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009309/0.01022, allocations: 0.7771 MB / 230.3 MB, free: 7.539 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.01043, allocations: 161 kB / 230.5 MB, free: 7.363 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.742e-05/0.01051, allocations: 81.67 kB / 230.5 MB, free: 7.277 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.01053, allocations: 8 kB / 230.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.01055, allocations: 38.56 kB / 230.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of pre-optimization done (n=31): time 1.674e-06/0.01055, allocations: 0 / 230.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of matching and sorting (n=42): time 0.004118/0.01467, allocations: 1.923 MB / 232.5 MB, free: 5.262 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.01471, allocations: 81.11 kB / 232.6 MB, free: 5.164 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.01487, allocations: 238.6 kB / 232.8 MB, free: 4.918 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.0149, allocations: 33.7 kB / 232.8 MB, free: 4.879 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.492e-05/0.01496, allocations: 152.6 kB / 233 MB, free: 4.727 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.601e-05/0.01504, allocations: 154.6 kB / 233.1 MB, free: 4.574 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-05/0.01512, allocations: 86.11 kB / 233.2 MB, free: 4.484 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.01525, allocations: 334.8 kB / 233.6 MB, free: 4.148 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.2e-05/0.01532, allocations: 48.97 kB / 233.6 MB, free: 4.098 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.401e-05/0.01541, allocations: 119.3 kB / 233.7 MB, free: 3.965 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.01561, allocations: 206.1 kB / 233.9 MB, free: 3.742 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.01561, allocations: 4 kB / 233.9 MB, free: 3.738 MB / 234.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002457/0.01585, allocations: 225.1 kB / 234.1 MB, free: 3.512 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.01587, allocations: 11.94 kB / 234.2 MB, free: 3.5 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.01588, allocations: 0 / 234.2 MB, free: 3.5 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.01589, allocations: 7.938 kB / 234.2 MB, free: 3.492 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/0.01623, allocations: 139.8 kB / 234.3 MB, free: 3.355 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.01624, allocations: 4 kB / 234.3 MB, free: 3.352 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.01637, allocations: 35.98 kB / 234.3 MB, free: 3.316 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.01639, allocations: 15.98 kB / 234.4 MB, free: 3.301 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 9.23e-05/0.01648, allocations: 129.7 kB / 234.5 MB, free: 3.164 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.564e-05/0.01654, allocations: 35.91 kB / 234.5 MB, free: 3.129 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005591/0.0171, allocations: 370.9 kB / 234.9 MB, free: 2.754 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.0171, allocations: 7.938 kB / 234.9 MB, free: 2.746 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.0171, allocations: 4 kB / 234.9 MB, free: 2.742 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.01711, allocations: 3.984 kB / 234.9 MB, free: 2.738 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.0183, allocations: 0.685 MB / 235.6 MB, free: 2.031 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.0183, allocations: 0 / 235.6 MB, free: 2.031 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/0.01856, allocations: 117.8 kB / 235.7 MB, free: 1.918 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.598e-05/0.01864, allocations: 35.75 kB / 235.7 MB, free: 1.883 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005863/0.01922, allocations: 212.6 kB / 235.9 MB, free: 1.672 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.01924, allocations: 12 kB / 236 MB, free: 1.66 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001492/0.02074, allocations: 1.688 MB / 237.6 MB, free: 15.89 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.02074, allocations: 4 kB / 237.6 MB, free: 15.88 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000666/0.02141, allocations: 0.5851 MB / 238.2 MB, free: 15.27 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.406e-05/0.02144, allocations: 12 kB / 238.2 MB, free: 15.26 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.0216, allocations: 27.92 kB / 238.3 MB, free: 15.23 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.006e-05/0.02167, allocations: 36.42 kB / 238.3 MB, free: 15.2 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.02169, allocations: 8 kB / 238.3 MB, free: 15.19 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.474e-05/0.02176, allocations: 93.55 kB / 238.4 MB, free: 15.09 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02176, allocations: 4 kB / 238.4 MB, free: 15.09 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003155/0.02208, allocations: 119.9 kB / 238.5 MB, free: 14.97 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.0001827/0.02226, allocations: 120.2 kB / 238.6 MB, free: 14.85 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004072/0.02267, allocations: 209.1 kB / 238.8 MB, free: 14.64 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/0.02268, allocations: 11.94 kB / 238.9 MB, free: 14.63 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002555/0.02294, allocations: 274.1 kB / 239.1 MB, free: 14.35 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.02321, allocations: 72.47 kB / 239.2 MB, free: 14.28 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.02586, allocations: 0.7349 MB / 239.9 MB, free: 13.51 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.964e-05/0.02593, allocations: 110.5 kB / 240 MB, free: 13.39 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.02605, allocations: 43 kB / 240.1 MB, free: 13.34 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.02621, allocations: 115.3 kB / 240.2 MB, free: 13.23 MB / 250.7 MB Notification: Performance of SimCode: time 1.102e-06/0.02621, allocations: 0 / 240.2 MB, free: 13.23 MB / 250.7 MB Notification: Performance of Templates: time 0.008853/0.03506, allocations: 6.87 MB / 247.1 MB, free: 6.371 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7316970406100154]