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.0009017/0.0009017, allocations: 87.62 kB / 21.44 MB, free: 3.121 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.004008/0.004008, allocations: 159.9 kB / 24.7 MB, free: 9.434 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.8871/0.8871, allocations: 177.1 MB / 205 MB, free: 5.719 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 2.053e-06/2.053e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.595e-05/3.8e-05, allocations: 6.219 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003566/0.003604, allocations: 2.697 MB / 328.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.00524, allocations: 1.207 MB / 329.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.005394, allocations: 4 kB / 329.7 MB, free: 11.51 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002516/0.005646, allocations: 67.36 kB / 329.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004765/0.006123, allocations: 226.6 kB / 330 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.006387, allocations: 143.5 kB / 330.2 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003535/0.00674, allocations: 483.3 kB / 330.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.006897, allocations: 48.91 kB / 330.7 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000357/0.007254, allocations: 275.4 kB / 331 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.007469, allocations: 175.5 kB / 331.1 MB, free: 10.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.067e-05/0.00752, allocations: 40 kB / 331.2 MB, free: 10.08 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000236/0.007756, allocations: 163.8 kB / 331.3 MB, free: 9.922 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.541e-05/0.007821, allocations: 91.7 kB / 331.4 MB, free: 9.832 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.007924, allocations: 135.6 kB / 331.5 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005647/0.008488, allocations: 0.5491 MB / 332.1 MB, free: 9.148 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.008494, allocations: 0 / 332.1 MB, free: 9.148 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.008497, allocations: 0 / 332.1 MB, free: 9.148 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.008503, allocations: 4 kB / 332.1 MB, free: 9.145 MB / 298.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.001086/0.009589, allocations: 0.6414 MB / 332.7 MB, free: 8.473 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.009634, allocations: 12.03 kB / 332.8 MB, free: 8.461 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.009789, allocations: 44.73 kB / 332.8 MB, free: 8.418 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/0.01023, allocations: 278.5 kB / 333.1 MB, free: 8.117 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003898/0.01062, allocations: 98.33 kB / 333.2 MB, free: 8.004 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.01075, allocations: 44.69 kB / 333.2 MB, free: 7.961 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004485/0.0112, allocations: 347.8 kB / 333.6 MB, free: 7.602 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.01121, allocations: 7.922 kB / 333.6 MB, free: 7.594 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/0.01124, allocations: 15.94 kB / 333.6 MB, free: 7.578 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.01125, allocations: 4 kB / 333.6 MB, free: 7.574 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004355/0.01168, allocations: 301.7 kB / 333.9 MB, free: 7.281 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.01292, allocations: 0.9921 MB / 334.9 MB, free: 6.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004293/0.01335, allocations: 281 kB / 335.1 MB, free: 5.938 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.01354, allocations: 149.6 kB / 335.3 MB, free: 5.785 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.01357, allocations: 8 kB / 335.3 MB, free: 5.777 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.01359, allocations: 34.56 kB / 335.3 MB, free: 5.734 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 2.555e-06/0.0136, allocations: 0 / 335.3 MB, free: 5.734 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.004851/0.01845, allocations: 2.276 MB / 337.6 MB, free: 3.418 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.0185, allocations: 81.11 kB / 337.7 MB, free: 3.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.01877, allocations: 297.8 kB / 338 MB, free: 3.023 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.0188, allocations: 33.7 kB / 338 MB, free: 2.984 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.0189, allocations: 172.6 kB / 338.2 MB, free: 2.809 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.728e-05/0.01899, allocations: 154.7 kB / 338.3 MB, free: 2.656 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.0191, allocations: 78.17 kB / 338.4 MB, free: 2.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.0192, allocations: 338.8 kB / 338.7 MB, free: 2.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/0.01945, allocations: 160.9 kB / 338.9 MB, free: 2.074 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.01972, allocations: 231.3 kB / 339.1 MB, free: 1.828 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005115/0.02023, allocations: 399.6 kB / 339.5 MB, free: 1.418 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.02023, allocations: 7.938 kB / 339.5 MB, free: 1.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000642/0.02087, allocations: 488.7 kB / 340 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.0209, allocations: 7.938 kB / 340 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.0209, allocations: 0 / 340 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.02092, allocations: 8.188 kB / 340 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/0.02123, allocations: 119.8 kB / 340.1 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.02125, allocations: 7.938 kB / 340.1 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.02143, allocations: 31.97 kB / 340.2 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.02145, allocations: 15.98 kB / 340.2 MB, free: 0.7344 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.0003572/0.02181, allocations: 153.8 kB / 340.3 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.539e-05/0.02188, allocations: 31.75 kB / 340.4 MB, free: 0.543 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/0.02298, allocations: 0.6502 MB / 341 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.02299, allocations: 7.938 kB / 341 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.023, allocations: 4 kB / 341 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.023, allocations: 3.984 kB / 341 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/0.02487, allocations: 1.117 MB / 342.1 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.02488, allocations: 11.94 kB / 342.2 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/0.02513, allocations: 87.88 kB / 342.2 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008193/0.02595, allocations: 276.4 kB / 342.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.121e-05/0.02598, allocations: 12 kB / 342.5 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002587/0.02856, allocations: 2.282 MB / 344.8 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.02857, allocations: 8.094 kB / 344.8 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.02999, allocations: 1.002 MB / 345.8 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.03013, allocations: 67.8 kB / 345.9 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.03016, allocations: 15.98 kB / 345.9 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.03037, allocations: 27.92 kB / 345.9 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.03047, allocations: 44.36 kB / 346 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.03049, allocations: 8 kB / 346 MB, free: 10.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001629/0.03065, allocations: 221.2 kB / 346.2 MB, free: 10.54 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03065, allocations: 0 / 346.2 MB, free: 10.54 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004299/0.03108, allocations: 115.9 kB / 346.3 MB, free: 10.42 MB / 314.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.00028/0.03136, allocations: 143 kB / 346.4 MB, free: 10.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006247/0.03198, allocations: 414.9 kB / 346.8 MB, free: 9.867 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.03199, allocations: 0 / 346.8 MB, free: 9.867 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004652/0.03245, allocations: 373.8 kB / 347.2 MB, free: 9.488 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.0328, allocations: 43.42 kB / 347.3 MB, free: 9.449 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.03423, allocations: 0.8675 MB / 348.1 MB, free: 8.551 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.03436, allocations: 183.1 kB / 348.3 MB, free: 8.344 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.03448, allocations: 40.47 kB / 348.3 MB, free: 8.305 MB / 314.7 MB Notification: Performance of SimCode: time 1.763e-06/0.03448, allocations: 0 / 348.3 MB, free: 8.305 MB / 314.7 MB Notification: Performance of Templates: time 0.006836/0.04131, allocations: 5.885 MB / 354.2 MB, free: 2.426 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.7170126643031836]