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.001569/0.001569, allocations: 79.73 kB / 21.97 MB, free: 2.59 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.001701/0.001701, allocations: 169.4 kB / 25.33 MB, free: 9.113 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.9236/0.9236, allocations: 158.6 MB / 187.2 MB, free: 2.438 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 1.352e-06/1.352e-06, allocations: 0 / 251 MB, free: 3.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.015e-05/3.15e-05, allocations: 6.109 kB / 251 MB, free: 3.582 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.00325/0.003281, allocations: 2.781 MB / 253.8 MB, free: 0.7812 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.005081, allocations: 1.251 MB / 255.1 MB, free: 15.52 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.005261, allocations: 4 kB / 255.1 MB, free: 15.52 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.005525, allocations: 63.33 kB / 255.1 MB, free: 15.45 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006001/0.006125, allocations: 238.5 kB / 255.4 MB, free: 15.22 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.006395, allocations: 111.7 kB / 255.5 MB, free: 15.11 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004641/0.006859, allocations: 486.8 kB / 256 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.00701, allocations: 52.84 kB / 256 MB, free: 14.58 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003625/0.007373, allocations: 271.4 kB / 256.3 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.007605, allocations: 171.6 kB / 256.4 MB, free: 14.14 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.999e-05/0.007665, allocations: 47.92 kB / 256.5 MB, free: 14.1 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002936/0.007959, allocations: 151.9 kB / 256.6 MB, free: 13.95 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.708e-05/0.008026, allocations: 95.62 kB / 256.7 MB, free: 13.86 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.008134, allocations: 131.7 kB / 256.9 MB, free: 13.73 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004904/0.008624, allocations: 398.6 kB / 257.3 MB, free: 13.34 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.008629, allocations: 0 / 257.3 MB, free: 13.34 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.00863, allocations: 0 / 257.3 MB, free: 13.34 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.008638, allocations: 0 / 257.3 MB, free: 13.34 MB / 250.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.001143/0.009781, allocations: 0.7297 MB / 258 MB, free: 12.57 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.009829, allocations: 15.98 kB / 258 MB, free: 12.55 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.009954, allocations: 68.7 kB / 258.1 MB, free: 12.49 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.01031, allocations: 249.1 kB / 258.3 MB, free: 12.21 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.505e-05/0.0104, allocations: 102.3 kB / 258.4 MB, free: 12.1 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.01052, allocations: 36.73 kB / 258.4 MB, free: 12.06 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000397/0.01091, allocations: 297 kB / 258.7 MB, free: 11.74 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.01093, allocations: 11.83 kB / 258.7 MB, free: 11.73 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.562e-05/0.01095, allocations: 15.98 kB / 258.8 MB, free: 11.71 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.01096, allocations: 4 kB / 258.8 MB, free: 11.71 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002674/0.01123, allocations: 170.8 kB / 258.9 MB, free: 11.55 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.01242, allocations: 1.083 MB / 260 MB, free: 10.4 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/0.01272, allocations: 206 kB / 260.2 MB, free: 10.17 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.01286, allocations: 106.3 kB / 260.3 MB, free: 10.06 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.01288, allocations: 4 kB / 260.3 MB, free: 10.06 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.01292, allocations: 49.31 kB / 260.4 MB, free: 10 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 1.953e-06/0.01292, allocations: 0 / 260.4 MB, free: 10 MB / 250.7 MB Notification: Performance of matching and sorting (n=42): time 0.00423/0.01715, allocations: 1.813 MB / 262.2 MB, free: 8.145 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.01719, allocations: 81.11 kB / 262.3 MB, free: 8.047 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.01741, allocations: 312.2 kB / 262.6 MB, free: 7.723 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.01744, allocations: 33.7 kB / 262.6 MB, free: 7.684 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.515e-05/0.01754, allocations: 219.4 kB / 262.8 MB, free: 7.465 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.117e-05/0.01763, allocations: 150.7 kB / 263 MB, free: 7.316 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.01774, allocations: 91.78 kB / 263.1 MB, free: 7.219 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.01787, allocations: 0.504 MB / 263.6 MB, free: 6.703 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.01801, allocations: 80.88 kB / 263.6 MB, free: 6.625 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.01818, allocations: 159.1 kB / 263.8 MB, free: 6.441 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/0.01849, allocations: 259.5 kB / 264 MB, free: 6.16 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01849, allocations: 0 / 264 MB, free: 6.16 MB / 250.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004541/0.01894, allocations: 340.5 kB / 264.4 MB, free: 5.82 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.01896, allocations: 7.938 kB / 264.4 MB, free: 5.812 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.01897, allocations: 4 kB / 264.4 MB, free: 5.809 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.01899, allocations: 0 / 264.4 MB, free: 5.809 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/0.01929, allocations: 116 kB / 264.5 MB, free: 5.695 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.0193, allocations: 7.938 kB / 264.5 MB, free: 5.688 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.01946, allocations: 27.98 kB / 264.5 MB, free: 5.66 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.01948, allocations: 19.98 kB / 264.6 MB, free: 5.641 MB / 250.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.0001181/0.0196, allocations: 172.5 kB / 264.7 MB, free: 5.461 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.944e-05/0.01968, allocations: 47.75 kB / 264.8 MB, free: 5.414 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000778/0.02046, allocations: 468.8 kB / 265.2 MB, free: 4.953 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.02046, allocations: 7.938 kB / 265.2 MB, free: 4.945 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.02047, allocations: 0 / 265.2 MB, free: 4.945 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.02047, allocations: 3.984 kB / 265.2 MB, free: 4.941 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.02195, allocations: 0.947 MB / 266.2 MB, free: 3.941 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.02196, allocations: 15.92 kB / 266.2 MB, free: 3.926 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/0.02218, allocations: 83.89 kB / 266.3 MB, free: 3.844 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007119/0.0229, allocations: 227.3 kB / 266.5 MB, free: 3.617 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/0.02293, allocations: 12 kB / 266.5 MB, free: 3.605 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001984/0.02491, allocations: 2.431 MB / 268.9 MB, free: 1.051 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.02492, allocations: 4 kB / 269 MB, free: 1.047 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009552/0.02587, allocations: 0.798 MB / 269.7 MB, free: 232 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.02598, allocations: 75.7 kB / 269.8 MB, free: 156 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.02602, allocations: 11.98 kB / 269.8 MB, free: 144 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.0262, allocations: 27.94 kB / 269.9 MB, free: 116 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.0263, allocations: 36.42 kB / 269.9 MB, free: 80 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/0.02633, allocations: 23.98 kB / 269.9 MB, free: 56 kB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001443/0.02647, allocations: 217.1 kB / 270.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.02647, allocations: 0 / 270.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004004/0.02687, allocations: 119.9 kB / 270.3 MB, free: 15.73 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.0002356/0.02711, allocations: 131.1 kB / 270.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004529/0.02756, allocations: 275.6 kB / 270.6 MB, free: 15.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.02757, allocations: 4 kB / 270.7 MB, free: 15.31 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004643/0.02803, allocations: 352.3 kB / 271 MB, free: 14.95 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.02838, allocations: 48.47 kB / 271 MB, free: 14.9 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.02979, allocations: 0.8019 MB / 271.8 MB, free: 14.06 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.569e-05/0.02988, allocations: 110.5 kB / 272 MB, free: 13.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001246/0.03, allocations: 38.95 kB / 272 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.03011, allocations: 36.47 kB / 272 MB, free: 13.86 MB / 266.7 MB Notification: Performance of SimCode: time 2.415e-06/0.03011, allocations: 0 / 272 MB, free: 13.86 MB / 266.7 MB Notification: Performance of Templates: time 0.01126/0.04137, allocations: 6.591 MB / 278.6 MB, free: 7.285 MB / 266.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 -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.865708875004202]