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.0008565/0.0008565, allocations: 91.61 kB / 22.18 MB, free: 2.371 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.0008941/0.0008941, allocations: 156 kB / 25.45 MB, free: 8.863 MB / 18.57 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.8591/0.8591, allocations: 158.6 MB / 187.2 MB, free: 3.062 MB / 170.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 2.215e-06/2.215e-06, allocations: 0 / 299.7 MB, free: 6.922 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.913e-05/2.134e-05, allocations: 2.281 kB / 299.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.002619/0.00264, allocations: 2.607 MB / 302.3 MB, free: 4.289 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.00429, allocations: 1.181 MB / 303.5 MB, free: 3.098 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.004406, allocations: 4 kB / 303.5 MB, free: 3.094 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002148/0.004621, allocations: 67.42 kB / 303.6 MB, free: 3.027 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003929/0.005014, allocations: 230.5 kB / 303.8 MB, free: 2.801 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.005176, allocations: 119.8 kB / 303.9 MB, free: 2.684 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003101/0.005487, allocations: 474.8 kB / 304.4 MB, free: 2.219 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.00561, allocations: 60.89 kB / 304.4 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.005833, allocations: 275.4 kB / 304.7 MB, free: 1.895 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.006008, allocations: 167.6 kB / 304.9 MB, free: 1.73 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.052e-05/0.006048, allocations: 40 kB / 304.9 MB, free: 1.691 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.006219, allocations: 159.8 kB / 305.1 MB, free: 1.535 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.64e-05/0.006275, allocations: 99.64 kB / 305.1 MB, free: 1.438 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.347e-05/0.006359, allocations: 127.7 kB / 305.3 MB, free: 1.312 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004226/0.006781, allocations: 0.5413 MB / 305.8 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.006784, allocations: 7.938 kB / 305.8 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.006785, allocations: 4 kB / 305.8 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.00679, allocations: 0 / 305.8 MB, free: 0.7578 MB / 282.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.0009385/0.007728, allocations: 0.6375 MB / 306.5 MB, free: 92 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.007763, allocations: 15.98 kB / 306.5 MB, free: 76 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.26e-05/0.007826, allocations: 32.75 kB / 306.5 MB, free: 44 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.008139, allocations: 270.9 kB / 306.8 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.395e-05/0.008213, allocations: 102.3 kB / 306.9 MB, free: 15.63 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.891e-05/0.008312, allocations: 40.69 kB / 306.9 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004006/0.008713, allocations: 355.8 kB / 307.3 MB, free: 15.22 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.008727, allocations: 7.938 kB / 307.3 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.008749, allocations: 8 kB / 307.3 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.008756, allocations: 11.94 kB / 307.3 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003846/0.009141, allocations: 301.7 kB / 307.6 MB, free: 14.9 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.01019, allocations: 0.996 MB / 308.6 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003679/0.01056, allocations: 286 kB / 308.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.01074, allocations: 157.6 kB / 309 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.87e-05/0.01076, allocations: 4 kB / 309 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.01078, allocations: 34.56 kB / 309.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.393e-06/0.01078, allocations: 0 / 309.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.004704/0.01548, allocations: 2.266 MB / 311.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.01552, allocations: 81.11 kB / 311.4 MB, free: 10.94 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.01574, allocations: 293.7 kB / 311.7 MB, free: 10.64 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.01576, allocations: 37.64 kB / 311.7 MB, free: 10.6 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.728e-05/0.01584, allocations: 168.6 kB / 311.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.613e-05/0.01592, allocations: 154.7 kB / 312 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.215e-05/0.01601, allocations: 82.12 kB / 312.1 MB, free: 10.19 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.542e-05/0.01609, allocations: 338.8 kB / 312.4 MB, free: 9.852 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.01633, allocations: 160.9 kB / 312.6 MB, free: 9.695 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/0.01658, allocations: 227.3 kB / 312.8 MB, free: 9.453 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004789/0.01706, allocations: 407.6 kB / 313.2 MB, free: 9.035 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.01706, allocations: 4 kB / 313.2 MB, free: 9.031 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005836/0.01764, allocations: 488.4 kB / 313.7 MB, free: 8.547 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.01766, allocations: 11.94 kB / 313.7 MB, free: 8.535 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.01766, allocations: 4 kB / 313.7 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.01767, allocations: 8.188 kB / 313.7 MB, free: 8.523 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002746/0.01795, allocations: 115.9 kB / 313.8 MB, free: 8.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.01796, allocations: 7.938 kB / 313.8 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.01812, allocations: 31.97 kB / 313.9 MB, free: 8.371 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.01814, allocations: 16 kB / 313.9 MB, free: 8.355 MB / 298.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.0001149/0.01825, allocations: 161.7 kB / 314.1 MB, free: 8.188 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.634e-05/0.01831, allocations: 31.75 kB / 314.1 MB, free: 8.156 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009814/0.01929, allocations: 0.6424 MB / 314.7 MB, free: 7.504 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.0193, allocations: 7.938 kB / 314.7 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.0193, allocations: 0 / 314.7 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.01931, allocations: 4 kB / 314.7 MB, free: 7.492 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001648/0.02095, allocations: 1.128 MB / 315.9 MB, free: 6.324 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.02096, allocations: 3.938 kB / 315.9 MB, free: 6.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.02117, allocations: 83.89 kB / 316 MB, free: 6.238 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007556/0.02193, allocations: 276.5 kB / 316.2 MB, free: 5.965 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.02195, allocations: 12 kB / 316.2 MB, free: 5.953 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002472/0.02442, allocations: 2.278 MB / 318.5 MB, free: 3.574 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.02443, allocations: 4.062 kB / 318.5 MB, free: 3.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.02566, allocations: 1.002 MB / 319.5 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.02577, allocations: 75.69 kB / 319.6 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.0258, allocations: 12 kB / 319.6 MB, free: 2.465 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.02599, allocations: 31.91 kB / 319.6 MB, free: 2.434 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.631e-05/0.02607, allocations: 40.42 kB / 319.7 MB, free: 2.395 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.02608, allocations: 12 kB / 319.7 MB, free: 2.383 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001455/0.02623, allocations: 213.2 kB / 319.9 MB, free: 2.172 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02623, allocations: 192 / 319.9 MB, free: 2.172 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003649/0.02659, allocations: 119.9 kB / 320 MB, free: 2.055 MB / 298.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.0002197/0.02681, allocations: 143 kB / 320.2 MB, free: 1.902 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005498/0.02736, allocations: 418.9 kB / 320.6 MB, free: 1.496 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.02737, allocations: 0 / 320.6 MB, free: 1.496 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000404/0.02777, allocations: 365.8 kB / 320.9 MB, free: 1.125 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.02808, allocations: 44.42 kB / 321 MB, free: 1.082 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.02909, allocations: 0.8597 MB / 321.8 MB, free: 196 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.02922, allocations: 187.1 kB / 322 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.02932, allocations: 40.47 kB / 322 MB, free: 15.95 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02932, allocations: 0 / 322 MB, free: 15.95 MB / 314.7 MB Notification: Performance of Templates: time 0.005403/0.03473, allocations: 5.85 MB / 327.9 MB, free: 10.09 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.542255957610905]