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.0009822/0.0009822, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.001044/0.001044, allocations: 164.3 kB / 24.99 MB, free: 8.742 MB / 18.57 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 0.9905/0.9905, allocations: 177.1 MB / 205.3 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.603e-06/1.603e-06, allocations: 0 / 273 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.49e-05, allocations: 2.312 kB / 273 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.00601/0.006035, allocations: 2.868 MB / 275.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002537/0.008572, allocations: 1.261 MB / 277.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002158/0.008788, allocations: 0 / 277.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001997/0.008988, allocations: 59.45 kB / 277.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005203/0.009508, allocations: 246.4 kB / 277.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.009791, allocations: 131.7 kB / 277.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004315/0.01022, allocations: 474.8 kB / 278.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.01037, allocations: 56.89 kB / 278.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003605/0.01073, allocations: 275.4 kB / 278.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002154/0.01095, allocations: 175.5 kB / 278.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.657e-05/0.01099, allocations: 40 kB / 278.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002377/0.01123, allocations: 159.8 kB / 278.8 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.372e-05/0.0113, allocations: 99.69 kB / 278.9 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.0114, allocations: 135.6 kB / 279 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005079/0.01191, allocations: 398.6 kB / 279.4 MB, free: 11.49 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.01191, allocations: 0 / 279.4 MB, free: 11.49 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.01191, allocations: 0 / 279.4 MB, free: 11.49 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.01192, allocations: 0 / 279.4 MB, free: 11.49 MB / 266.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.001092/0.01301, allocations: 0.7374 MB / 280.1 MB, free: 10.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.01305, allocations: 8.031 kB / 280.1 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.01322, allocations: 68.73 kB / 280.2 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/0.01357, allocations: 265.3 kB / 280.4 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-05/0.01366, allocations: 102.3 kB / 280.5 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.01377, allocations: 36.73 kB / 280.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004177/0.01419, allocations: 305 kB / 280.9 MB, free: 9.871 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.0142, allocations: 3.938 kB / 280.9 MB, free: 9.867 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.01423, allocations: 12 kB / 280.9 MB, free: 9.855 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.01424, allocations: 8 kB / 280.9 MB, free: 9.848 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000285/0.01452, allocations: 166.8 kB / 281.1 MB, free: 9.688 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.01575, allocations: 1.083 MB / 282.1 MB, free: 8.539 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000315/0.01606, allocations: 218 kB / 282.4 MB, free: 8.301 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.0162, allocations: 113.9 kB / 282.5 MB, free: 8.184 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.01623, allocations: 8 kB / 282.5 MB, free: 8.176 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.01626, allocations: 37.39 kB / 282.5 MB, free: 8.129 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 2.335e-06/0.01626, allocations: 0 / 282.5 MB, free: 8.129 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.00451/0.02077, allocations: 1.804 MB / 284.3 MB, free: 6.281 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.02082, allocations: 81.11 kB / 284.4 MB, free: 6.184 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003027/0.02113, allocations: 312.2 kB / 284.7 MB, free: 5.863 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.043e-05/0.02117, allocations: 37.7 kB / 284.7 MB, free: 5.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.02132, allocations: 215.4 kB / 285 MB, free: 5.605 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.02142, allocations: 154.7 kB / 285.1 MB, free: 5.453 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.02155, allocations: 83.83 kB / 285.2 MB, free: 5.363 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.02174, allocations: 0.5157 MB / 285.7 MB, free: 4.836 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.02191, allocations: 68.95 kB / 285.8 MB, free: 4.766 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.02211, allocations: 163 kB / 285.9 MB, free: 4.578 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/0.02247, allocations: 263.4 kB / 286.2 MB, free: 4.293 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.02247, allocations: 0 / 286.2 MB, free: 4.293 MB / 266.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005007/0.02297, allocations: 332.8 kB / 286.5 MB, free: 3.961 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.02299, allocations: 7.938 kB / 286.5 MB, free: 3.953 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.023, allocations: 4 kB / 286.5 MB, free: 3.949 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.02302, allocations: 4 kB / 286.5 MB, free: 3.945 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003162/0.02334, allocations: 124 kB / 286.6 MB, free: 3.824 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.02335, allocations: 0 / 286.6 MB, free: 3.824 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.02353, allocations: 27.94 kB / 286.7 MB, free: 3.797 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.02355, allocations: 19.98 kB / 286.7 MB, free: 3.777 MB / 266.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.0001309/0.02368, allocations: 180.5 kB / 286.9 MB, free: 3.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.885e-05/0.02376, allocations: 43.75 kB / 286.9 MB, free: 3.547 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008625/0.02462, allocations: 476.6 kB / 287.4 MB, free: 3.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.02463, allocations: 7.938 kB / 287.4 MB, free: 3.062 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.02463, allocations: 4 kB / 287.4 MB, free: 3.059 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.02464, allocations: 3.984 kB / 287.4 MB, free: 3.055 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/0.02622, allocations: 0.951 MB / 288.3 MB, free: 2.059 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.02623, allocations: 3.938 kB / 288.3 MB, free: 2.055 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/0.02646, allocations: 87.89 kB / 288.4 MB, free: 1.969 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007415/0.0272, allocations: 219.4 kB / 288.6 MB, free: 1.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.29e-05/0.02723, allocations: 8 kB / 288.7 MB, free: 1.742 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002209/0.02944, allocations: 2.438 MB / 291.1 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.02944, allocations: 0 / 291.1 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.03051, allocations: 0.8058 MB / 291.9 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.03062, allocations: 71.75 kB / 292 MB, free: 14.28 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.794e-05/0.03066, allocations: 8 kB / 292 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.03086, allocations: 27.92 kB / 292 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.737e-05/0.03095, allocations: 44.42 kB / 292 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.03098, allocations: 16 kB / 292.1 MB, free: 14.18 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001477/0.03112, allocations: 221.1 kB / 292.3 MB, free: 13.96 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03112, allocations: 0 / 292.3 MB, free: 13.96 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004071/0.03153, allocations: 115.9 kB / 292.4 MB, free: 13.85 MB / 282.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.0002508/0.03178, allocations: 155 kB / 292.5 MB, free: 13.69 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004655/0.03225, allocations: 267.6 kB / 292.8 MB, free: 13.43 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.03225, allocations: 0 / 292.8 MB, free: 13.43 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000396/0.03264, allocations: 364.2 kB / 293.2 MB, free: 13.05 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.03299, allocations: 40.92 kB / 293.2 MB, free: 13.01 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.03434, allocations: 0.8131 MB / 294 MB, free: 12.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.134e-05/0.03442, allocations: 102.6 kB / 294.1 MB, free: 12.04 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.03455, allocations: 42.94 kB / 294.2 MB, free: 12 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.822e-05/0.03465, allocations: 32.48 kB / 294.2 MB, free: 11.97 MB / 282.7 MB Notification: Performance of SimCode: time 1.082e-06/0.03465, allocations: 4 kB / 294.2 MB, free: 11.96 MB / 282.7 MB Notification: Performance of Templates: time 0.01049/0.04514, allocations: 6.284 MB / 300.5 MB, free: 5.719 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.017297381069511]