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.0009002/0.0009002, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009633/0.0009633, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.891/0.891, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.864e-06/1.864e-06, allocations: 0 / 273.5 MB, free: 1.141 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.308e-05/1.494e-05, allocations: 5.969 kB / 273.5 MB, free: 1.137 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003001/0.003016, allocations: 2.885 MB / 276.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.00461, allocations: 1.277 MB / 277.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.004741, allocations: 7.938 kB / 277.7 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.004949, allocations: 63.48 kB / 277.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003841/0.005333, allocations: 226.5 kB / 277.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.005538, allocations: 139.7 kB / 278.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003279/0.005866, allocations: 470.9 kB / 278.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.005981, allocations: 66.84 kB / 278.6 MB, free: 12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002732/0.006254, allocations: 275.4 kB / 278.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.006445, allocations: 171.6 kB / 279 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.286e-05/0.006488, allocations: 43.94 kB / 279.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002161/0.006704, allocations: 171.8 kB / 279.3 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.089e-05/0.006765, allocations: 91.7 kB / 279.3 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.267e-05/0.006858, allocations: 139.6 kB / 279.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.007212, allocations: 394.7 kB / 279.9 MB, free: 10.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.007214, allocations: 4 kB / 279.9 MB, free: 10.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.007215, allocations: 3.938 kB / 279.9 MB, free: 10.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.007219, allocations: 0 / 279.9 MB, free: 10.73 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.0007669/0.007986, allocations: 0.6049 MB / 280.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.554e-05/0.008011, allocations: 12.03 kB / 280.5 MB, free: 10.08 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.008127, allocations: 56.89 kB / 280.5 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.008352, allocations: 212.9 kB / 280.8 MB, free: 9.793 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.624e-05/0.008418, allocations: 106.3 kB / 280.9 MB, free: 9.672 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.051e-05/0.008498, allocations: 32.75 kB / 280.9 MB, free: 9.641 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.008765, allocations: 272.5 kB / 281.2 MB, free: 9.348 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.008778, allocations: 7.875 kB / 281.2 MB, free: 9.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.008796, allocations: 12 kB / 281.2 MB, free: 9.328 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.008804, allocations: 11.98 kB / 281.2 MB, free: 9.316 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.008969, allocations: 125.4 kB / 281.3 MB, free: 9.195 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007923/0.009761, allocations: 0.7771 MB / 282.1 MB, free: 8.375 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.009945, allocations: 157.1 kB / 282.2 MB, free: 8.203 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.583e-05/0.01002, allocations: 81.67 kB / 282.3 MB, free: 8.117 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.01004, allocations: 4 kB / 282.3 MB, free: 8.113 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.01006, allocations: 42.5 kB / 282.4 MB, free: 8.062 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.312e-06/0.01006, allocations: 0 / 282.4 MB, free: 8.062 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.00406/0.01412, allocations: 1.911 MB / 284.3 MB, free: 6.113 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.01415, allocations: 81.11 kB / 284.4 MB, free: 6.016 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.0143, allocations: 246.6 kB / 284.6 MB, free: 5.762 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.01433, allocations: 29.7 kB / 284.6 MB, free: 5.727 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.893e-05/0.01439, allocations: 161 kB / 284.8 MB, free: 5.562 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.236e-05/0.01446, allocations: 154.7 kB / 284.9 MB, free: 5.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-05/0.01455, allocations: 82.09 kB / 285 MB, free: 5.324 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.345e-05/0.01463, allocations: 350.7 kB / 285.4 MB, free: 4.973 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.812e-05/0.01471, allocations: 44.97 kB / 285.4 MB, free: 4.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.01483, allocations: 115.3 kB / 285.5 MB, free: 4.801 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/0.01504, allocations: 194.8 kB / 285.7 MB, free: 4.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.01504, allocations: 4 kB / 285.7 MB, free: 4.586 MB / 266.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002817/0.01532, allocations: 229.1 kB / 285.9 MB, free: 4.355 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.01534, allocations: 4 kB / 285.9 MB, free: 4.352 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.01535, allocations: 0 / 285.9 MB, free: 4.352 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.01536, allocations: 7.938 kB / 285.9 MB, free: 4.344 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003412/0.0157, allocations: 132 kB / 286.1 MB, free: 4.215 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.01571, allocations: 7.938 kB / 286.1 MB, free: 4.207 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.01585, allocations: 27.94 kB / 286.1 MB, free: 4.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.01587, allocations: 19.98 kB / 286.1 MB, free: 4.16 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 9.384e-05/0.01596, allocations: 129.8 kB / 286.3 MB, free: 4.023 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.238e-05/0.01602, allocations: 35.86 kB / 286.3 MB, free: 3.988 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005707/0.0166, allocations: 378.9 kB / 286.7 MB, free: 3.605 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.0166, allocations: 7.938 kB / 286.7 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.0166, allocations: 0 / 286.7 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.01661, allocations: 3.984 kB / 286.7 MB, free: 3.594 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.01769, allocations: 0.6772 MB / 287.3 MB, free: 2.891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01769, allocations: 4 kB / 287.3 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.01794, allocations: 111 kB / 287.5 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005818/0.01852, allocations: 216.5 kB / 287.7 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.01855, allocations: 15.98 kB / 287.7 MB, free: 2.551 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001388/0.01994, allocations: 1.68 MB / 289.4 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.01994, allocations: 0 / 289.4 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006626/0.0206, allocations: 0.5851 MB / 289.9 MB, free: 184 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.215e-05/0.02067, allocations: 35.73 kB / 290 MB, free: 148 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.0207, allocations: 8 kB / 290 MB, free: 140 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.02087, allocations: 31.92 kB / 290 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.767e-05/0.02094, allocations: 36.42 kB / 290.1 MB, free: 72 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.02096, allocations: 12 kB / 290.1 MB, free: 60 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.1089/0.1299, allocations: 92.52 kB / 290.2 MB, free: 24.67 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1299, allocations: 0 / 290.2 MB, free: 24.67 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004476/0.1303, allocations: 112.7 kB / 290.3 MB, free: 24.67 MB / 266.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.000197/0.1305, allocations: 125.8 kB / 290.4 MB, free: 24.6 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003208/0.1308, allocations: 204.7 kB / 290.6 MB, free: 24.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.1308, allocations: 4.25 kB / 290.6 MB, free: 24.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003005/0.1311, allocations: 275 kB / 290.9 MB, free: 24.47 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.1314, allocations: 47.31 kB / 290.9 MB, free: 24.47 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.1324, allocations: 0.7371 MB / 291.6 MB, free: 24.14 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.137e-05/0.1325, allocations: 104.8 kB / 291.8 MB, free: 24.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001403/0.1326, allocations: 43.97 kB / 291.8 MB, free: 24.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.1328, allocations: 114.9 kB / 291.9 MB, free: 24.03 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.1328, allocations: 0 / 291.9 MB, free: 24.03 MB / 266.7 MB Notification: Performance of Templates: time 0.008861/0.1416, allocations: 6.791 MB / 298.7 MB, free: 22.89 MB / 266.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 -s gbode -gbm=radauIIA3 -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: 2.6524727242067456]