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.001004/0.001004, allocations: 75.91 kB / 21.18 MB, free: 3.395 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.001258/0.001258, allocations: 145.5 kB / 24.54 MB, free: 36 kB / 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 1.004/1.004, allocations: 173.3 MB / 201.1 MB, free: 9.363 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 2.385e-06/2.385e-06, allocations: 0 / 268 MB, free: 6.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.499e-05/3.738e-05, allocations: 6.25 kB / 268 MB, free: 6.461 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.0031/0.003138, allocations: 2.849 MB / 270.8 MB, free: 3.598 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.004684, allocations: 1.203 MB / 272 MB, free: 2.387 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.004841, allocations: 7.938 kB / 272 MB, free: 2.379 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.005079, allocations: 67.36 kB / 272.1 MB, free: 2.312 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004823/0.005562, allocations: 226.6 kB / 272.3 MB, free: 2.09 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.005782, allocations: 127.7 kB / 272.5 MB, free: 1.965 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003407/0.006123, allocations: 470.9 kB / 272.9 MB, free: 1.5 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.006252, allocations: 60.91 kB / 273 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002495/0.006502, allocations: 271.4 kB / 273.2 MB, free: 1.176 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.006693, allocations: 175.5 kB / 273.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.722e-05/0.006741, allocations: 44 kB / 273.5 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001956/0.006936, allocations: 151.9 kB / 273.6 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.104e-05/0.006997, allocations: 95.7 kB / 273.7 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.651e-05/0.007094, allocations: 131.6 kB / 273.8 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.007484, allocations: 394.6 kB / 274.2 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.007488, allocations: 3.984 kB / 274.2 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.007489, allocations: 4 kB / 274.2 MB, free: 200 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.007494, allocations: 0 / 274.2 MB, free: 200 kB / 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.0009845/0.008478, allocations: 0.7258 MB / 274.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.008516, allocations: 8.922 kB / 275 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.11e-05/0.008607, allocations: 64.7 kB / 275 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004415/0.009048, allocations: 261.3 kB / 275.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.527e-05/0.009134, allocations: 102.3 kB / 275.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.009237, allocations: 36.73 kB / 275.4 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/0.009591, allocations: 305 kB / 275.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.009604, allocations: 3.938 kB / 275.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.009627, allocations: 11.98 kB / 275.7 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.009637, allocations: 8 kB / 275.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002565/0.009893, allocations: 162.8 kB / 275.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.01101, allocations: 1.094 MB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.0113, allocations: 206.1 kB / 277.2 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.01142, allocations: 99.27 kB / 277.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.01145, allocations: 8 kB / 277.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.01147, allocations: 45.39 kB / 277.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.743e-06/0.01147, allocations: 0 / 277.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.004153/0.01563, allocations: 1.818 MB / 279.2 MB, free: 11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.01566, allocations: 85.05 kB / 279.2 MB, free: 10.9 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.01588, allocations: 312.2 kB / 279.5 MB, free: 10.58 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.0159, allocations: 29.7 kB / 279.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.448e-05/0.016, allocations: 223.4 kB / 279.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.934e-05/0.01608, allocations: 150.7 kB / 279.9 MB, free: 10.17 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.01618, allocations: 87.81 kB / 280 MB, free: 10.08 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.0163, allocations: 0.5117 MB / 280.5 MB, free: 9.555 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.01644, allocations: 72.94 kB / 280.6 MB, free: 9.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.01661, allocations: 159.1 kB / 280.8 MB, free: 9.301 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003158/0.01692, allocations: 251.6 kB / 281 MB, free: 9.027 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.01693, allocations: 4 kB / 281 MB, free: 9.023 MB / 266.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004371/0.01736, allocations: 332.7 kB / 281.3 MB, free: 8.691 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.01738, allocations: 11.94 kB / 281.3 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.01739, allocations: 0 / 281.3 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.0174, allocations: 4 kB / 281.3 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/0.0177, allocations: 120 kB / 281.5 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.01771, allocations: 7.984 kB / 281.5 MB, free: 8.551 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.01787, allocations: 24 kB / 281.5 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.01789, allocations: 15.98 kB / 281.5 MB, free: 8.512 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 0.0001117/0.01801, allocations: 176.5 kB / 281.7 MB, free: 8.328 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.66e-05/0.01808, allocations: 47.75 kB / 281.7 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009293/0.01901, allocations: 472.7 kB / 282.2 MB, free: 7.809 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.01902, allocations: 11.94 kB / 282.2 MB, free: 7.797 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.01902, allocations: 0 / 282.2 MB, free: 7.797 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.01903, allocations: 3.984 kB / 282.2 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.02048, allocations: 0.9509 MB / 283.2 MB, free: 6.797 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.02049, allocations: 7.938 kB / 283.2 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.02071, allocations: 87.89 kB / 283.3 MB, free: 6.703 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007072/0.02141, allocations: 223.3 kB / 283.5 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.974e-05/0.02144, allocations: 15.98 kB / 283.5 MB, free: 6.465 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001926/0.02337, allocations: 2.427 MB / 285.9 MB, free: 3.918 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.02337, allocations: 4.031 kB / 285.9 MB, free: 3.914 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009799/0.02435, allocations: 0.8019 MB / 286.7 MB, free: 3.086 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.02446, allocations: 67.75 kB / 286.8 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.02449, allocations: 12 kB / 286.8 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.02468, allocations: 27.92 kB / 286.8 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.58e-05/0.02478, allocations: 40.42 kB / 286.9 MB, free: 2.941 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.0248, allocations: 12 kB / 286.9 MB, free: 2.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001492/0.02495, allocations: 221.1 kB / 287.1 MB, free: 2.715 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.02495, allocations: 0 / 287.1 MB, free: 2.715 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004188/0.02537, allocations: 119.9 kB / 287.2 MB, free: 2.598 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.0002699/0.02564, allocations: 147.1 kB / 287.4 MB, free: 2.445 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004417/0.02608, allocations: 267.8 kB / 287.6 MB, free: 2.176 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.02608, allocations: 0 / 287.6 MB, free: 2.176 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004037/0.02648, allocations: 361.1 kB / 288 MB, free: 1.805 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.02682, allocations: 44.92 kB / 288 MB, free: 1.762 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.02811, allocations: 0.8132 MB / 288.8 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.308e-05/0.02818, allocations: 106.6 kB / 288.9 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.0283, allocations: 42.94 kB / 289 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.0284, allocations: 36.48 kB / 289 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of SimCode: time 9.31e-07/0.0284, allocations: 0 / 289 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of Templates: time 0.1257/0.1542, allocations: 6.286 MB / 295.3 MB, free: 28.22 MB / 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: 3.056598488241434]