Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008994/0.0008994, allocations: 85.17 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000851/0.000851, allocations: 141.1 kB / 24.89 MB, free: 8.773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8644/0.8644, allocations: 173.4 MB / 201.5 MB, free: 8.242 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 3.938 kB / 268.5 MB, free: 9.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.792e-05, allocations: 2.312 kB / 268.5 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.002849/0.002867, allocations: 2.82 MB / 271.3 MB, free: 6.961 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.004366, allocations: 1.226 MB / 272.5 MB, free: 5.734 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.004483, allocations: 4 kB / 272.5 MB, free: 5.73 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001959/0.004679, allocations: 67.88 kB / 272.6 MB, free: 5.664 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004277/0.005107, allocations: 237.2 kB / 272.8 MB, free: 5.434 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.005299, allocations: 122 kB / 272.9 MB, free: 5.316 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003355/0.005635, allocations: 470.9 kB / 273.4 MB, free: 4.852 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.005755, allocations: 68.22 kB / 273.5 MB, free: 4.789 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002748/0.00603, allocations: 267.4 kB / 273.7 MB, free: 4.527 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.006221, allocations: 175.5 kB / 273.9 MB, free: 4.355 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.32e-05/0.006265, allocations: 44.53 kB / 273.9 MB, free: 4.312 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002016/0.006466, allocations: 152.4 kB / 274.1 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.807e-05/0.006524, allocations: 99.62 kB / 274.2 MB, free: 4.066 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.024e-05/0.006614, allocations: 135.7 kB / 274.3 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003653/0.00698, allocations: 398.6 kB / 274.7 MB, free: 3.543 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.006983, allocations: 0 / 274.7 MB, free: 3.543 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.006983, allocations: 0 / 274.7 MB, free: 3.543 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.006987, allocations: 0 / 274.7 MB, free: 3.543 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.0008204/0.007807, allocations: 0.601 MB / 275.3 MB, free: 2.918 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.007838, allocations: 8.031 kB / 275.3 MB, free: 2.91 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.595e-05/0.007904, allocations: 48.89 kB / 275.4 MB, free: 2.863 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.00814, allocations: 205 kB / 275.6 MB, free: 2.633 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.244e-05/0.008212, allocations: 106.3 kB / 275.7 MB, free: 2.512 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.96e-05/0.008312, allocations: 44.67 kB / 275.7 MB, free: 2.469 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/0.008592, allocations: 276.5 kB / 276 MB, free: 2.176 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.008608, allocations: 3.938 kB / 276 MB, free: 2.172 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.008627, allocations: 16 kB / 276 MB, free: 2.156 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.008635, allocations: 4 kB / 276 MB, free: 2.152 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/0.008803, allocations: 125.3 kB / 276.1 MB, free: 2.035 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008354/0.009639, allocations: 0.7654 MB / 276.9 MB, free: 1.227 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.009837, allocations: 171.9 kB / 277.1 MB, free: 1.043 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.789e-05/0.009915, allocations: 78.17 kB / 277.1 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.009933, allocations: 4 kB / 277.1 MB, free: 0.957 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.009955, allocations: 38.56 kB / 277.2 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 1.643e-06/0.009956, allocations: 0 / 277.2 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of matching and sorting (n=42): time 0.004139/0.01409, allocations: 1.917 MB / 279.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.01413, allocations: 85.11 kB / 279.2 MB, free: 14.86 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.01428, allocations: 250.6 kB / 279.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.01431, allocations: 33.7 kB / 279.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.698e-05/0.01437, allocations: 144.7 kB / 279.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.164e-05/0.01445, allocations: 158.6 kB / 279.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.624e-05/0.01454, allocations: 82.12 kB / 279.8 MB, free: 14.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.633e-05/0.01462, allocations: 346.7 kB / 280.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.656e-05/0.0147, allocations: 44.97 kB / 280.2 MB, free: 13.78 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.0148, allocations: 115.2 kB / 280.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.015, allocations: 207.8 kB / 280.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.015, allocations: 0 / 280.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002668/0.01527, allocations: 228.9 kB / 280.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.01528, allocations: 4 kB / 280.8 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.01529, allocations: 4 kB / 280.8 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.0153, allocations: 12.12 kB / 280.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/0.01557, allocations: 107.9 kB / 280.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.01558, allocations: 4 kB / 280.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.01572, allocations: 27.98 kB / 280.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.01574, allocations: 15.98 kB / 280.9 MB, free: 13.02 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.896e-05/0.01584, allocations: 133.7 kB / 281.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.071e-05/0.0159, allocations: 31.97 kB / 281.1 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005617/0.01646, allocations: 370.9 kB / 281.4 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.01647, allocations: 4 kB / 281.4 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.01647, allocations: 3.938 kB / 281.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.01648, allocations: 11.97 kB / 281.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.01758, allocations: 0.6888 MB / 282.2 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.01759, allocations: 0 / 282.2 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.01779, allocations: 87.89 kB / 282.2 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000574/0.01836, allocations: 216.5 kB / 282.5 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.01839, allocations: 15.92 kB / 282.5 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/0.01981, allocations: 1.676 MB / 284.1 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01982, allocations: 0 / 284.1 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006836/0.0205, allocations: 0.5812 MB / 284.7 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.275e-05/0.02058, allocations: 39.75 kB / 284.8 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.02062, allocations: 12 kB / 284.8 MB, free: 9.004 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.02078, allocations: 24.02 kB / 284.8 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.514e-05/0.02086, allocations: 48.3 kB / 284.8 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.02088, allocations: 8 kB / 284.9 MB, free: 8.926 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.759e-05/0.02095, allocations: 93.59 kB / 284.9 MB, free: 8.832 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02095, allocations: 0 / 284.9 MB, free: 8.832 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003271/0.02128, allocations: 119.9 kB / 285.1 MB, free: 8.715 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.0001973/0.02148, allocations: 128.2 kB / 285.2 MB, free: 8.578 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000257/0.02173, allocations: 205.2 kB / 285.4 MB, free: 8.375 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.02174, allocations: 4 kB / 285.4 MB, free: 8.371 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002535/0.02199, allocations: 271.6 kB / 285.7 MB, free: 8.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.02224, allocations: 52.48 kB / 285.7 MB, free: 8.039 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.02325, allocations: 0.7385 MB / 286.4 MB, free: 7.266 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.18e-05/0.02331, allocations: 102.5 kB / 286.5 MB, free: 7.145 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001165/0.02343, allocations: 38.95 kB / 286.6 MB, free: 7.109 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.02358, allocations: 107.3 kB / 286.7 MB, free: 7.004 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02359, allocations: 0 / 286.7 MB, free: 7.004 MB / 266.7 MB Notification: Performance of Templates: time 0.008119/0.0317, allocations: 6.579 MB / 293.3 MB, free: 488 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.545294971205294]