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.00192/0.00192, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.002294/0.002294, allocations: 170.8 kB / 25.03 MB, free: 8.43 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 1.431/1.431, allocations: 158.6 MB / 186.8 MB, free: 2.863 MB / 170.7 MB " [Timeout remaining time 178] 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.844e-06/1.844e-06, allocations: 3.938 kB / 250.4 MB, free: 3.93 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.849e-05/3.034e-05, allocations: 5.406 kB / 250.4 MB, free: 3.926 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004946/0.004977, allocations: 2.602 MB / 253 MB, free: 1.305 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002595/0.007572, allocations: 1.188 MB / 254.2 MB, free: 108 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000292/0.007864, allocations: 7.938 kB / 254.2 MB, free: 100 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003521/0.008216, allocations: 67.38 kB / 254.2 MB, free: 32 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008183/0.009034, allocations: 230.6 kB / 254.5 MB, free: 15.8 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003382/0.009373, allocations: 123.7 kB / 254.6 MB, free: 15.68 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005613/0.009934, allocations: 474.9 kB / 255 MB, free: 15.22 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.0101, allocations: 56.89 kB / 255.1 MB, free: 15.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004053/0.01051, allocations: 271.4 kB / 255.4 MB, free: 14.89 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003056/0.01081, allocations: 171.5 kB / 255.5 MB, free: 14.73 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.77e-05/0.01089, allocations: 40 kB / 255.6 MB, free: 14.69 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003169/0.01121, allocations: 155.8 kB / 255.7 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.01132, allocations: 103.6 kB / 255.8 MB, free: 14.43 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001912/0.01151, allocations: 127.7 kB / 255.9 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008366/0.01235, allocations: 0.5452 MB / 256.5 MB, free: 13.76 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.01236, allocations: 4 kB / 256.5 MB, free: 13.76 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.01236, allocations: 0 / 256.5 MB, free: 13.76 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.01237, allocations: 0 / 256.5 MB, free: 13.76 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.001838/0.01421, allocations: 0.6259 MB / 257.1 MB, free: 13.1 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.01425, allocations: 15.98 kB / 257.1 MB, free: 13.09 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.01442, allocations: 60.7 kB / 257.2 MB, free: 13.03 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005747/0.01499, allocations: 274.8 kB / 257.5 MB, free: 12.73 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.01512, allocations: 98.33 kB / 257.6 MB, free: 12.62 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/0.01529, allocations: 36.73 kB / 257.6 MB, free: 12.58 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007159/0.01601, allocations: 351.8 kB / 257.9 MB, free: 12.21 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.01603, allocations: 3.938 kB / 257.9 MB, free: 12.21 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.827e-05/0.01606, allocations: 12 kB / 258 MB, free: 12.2 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.01607, allocations: 8 kB / 258 MB, free: 12.19 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000867/0.01694, allocations: 297.8 kB / 258.3 MB, free: 11.9 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001918/0.01886, allocations: 1.015 MB / 259.3 MB, free: 10.83 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006898/0.01955, allocations: 285.1 kB / 259.6 MB, free: 10.53 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003646/0.01991, allocations: 160.2 kB / 259.7 MB, free: 10.37 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.01994, allocations: 4 kB / 259.7 MB, free: 10.37 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.01998, allocations: 38.56 kB / 259.7 MB, free: 10.32 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 1.322e-06/0.01998, allocations: 0 / 259.7 MB, free: 10.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=42): time 0.01022/0.0302, allocations: 2.28 MB / 262 MB, free: 8.004 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.959e-05/0.03029, allocations: 92.98 kB / 262.1 MB, free: 7.895 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004325/0.03072, allocations: 293.7 kB / 262.4 MB, free: 7.602 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.993e-05/0.03077, allocations: 29.7 kB / 262.4 MB, free: 7.566 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.03093, allocations: 172.6 kB / 262.6 MB, free: 7.395 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.03109, allocations: 150.7 kB / 262.8 MB, free: 7.246 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.03127, allocations: 82.12 kB / 262.8 MB, free: 7.16 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.03146, allocations: 342.8 kB / 263.2 MB, free: 6.816 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004415/0.0319, allocations: 160.9 kB / 263.3 MB, free: 6.656 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004974/0.0324, allocations: 231.3 kB / 263.5 MB, free: 6.41 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009445/0.03335, allocations: 407.6 kB / 263.9 MB, free: 5.992 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.03335, allocations: 0 / 263.9 MB, free: 5.992 MB / 250.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001227/0.03457, allocations: 0.4926 MB / 264.4 MB, free: 5.492 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.0346, allocations: 12.12 kB / 264.5 MB, free: 5.48 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.03461, allocations: 4 kB / 264.5 MB, free: 5.477 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/0.03463, allocations: 4 kB / 264.5 MB, free: 5.473 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006642/0.0353, allocations: 119.8 kB / 264.6 MB, free: 5.355 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/0.03531, allocations: 7.984 kB / 264.6 MB, free: 5.348 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000419/0.03573, allocations: 27.98 kB / 264.6 MB, free: 5.32 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-05/0.03578, allocations: 23.98 kB / 264.6 MB, free: 5.297 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.00023/0.03601, allocations: 149.8 kB / 264.8 MB, free: 5.141 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.03616, allocations: 47.75 kB / 264.8 MB, free: 5.094 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002215/0.03838, allocations: 0.6463 MB / 265.5 MB, free: 4.441 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.0384, allocations: 7.938 kB / 265.5 MB, free: 4.434 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.0384, allocations: 0 / 265.5 MB, free: 4.434 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.03841, allocations: 7.984 kB / 265.5 MB, free: 4.426 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00356/0.04197, allocations: 1.121 MB / 266.6 MB, free: 3.262 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.04198, allocations: 3.938 kB / 266.6 MB, free: 3.258 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004958/0.04248, allocations: 91.88 kB / 266.7 MB, free: 3.168 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001744/0.04422, allocations: 264.6 kB / 267 MB, free: 2.906 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.118e-05/0.04427, allocations: 12 kB / 267 MB, free: 2.895 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004746/0.04902, allocations: 2.29 MB / 269.3 MB, free: 0.5 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.04902, allocations: 0 / 269.3 MB, free: 0.5 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00269/0.05171, allocations: 1.014 MB / 270.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002258/0.05194, allocations: 83.67 kB / 270.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.195e-05/0.05202, allocations: 8 kB / 270.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000489/0.05251, allocations: 27.92 kB / 270.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.05265, allocations: 44.42 kB / 270.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.684e-05/0.05268, allocations: 12 kB / 270.5 MB, free: 15.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002822/0.05297, allocations: 213.2 kB / 270.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05297, allocations: 0 / 270.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006414/0.05361, allocations: 111.9 kB / 270.8 MB, free: 14.98 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.0003286/0.05394, allocations: 147.1 kB / 270.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.05502, allocations: 410.9 kB / 271.3 MB, free: 14.42 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.05502, allocations: 0 / 271.3 MB, free: 14.42 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007859/0.05581, allocations: 368.9 kB / 271.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005214/0.05633, allocations: 48.44 kB / 271.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.05836, allocations: 0.8518 MB / 272.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.05859, allocations: 183.1 kB / 272.8 MB, free: 12.92 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002143/0.0588, allocations: 42.89 kB / 272.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.05897, allocations: 44.47 kB / 272.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of SimCode: time 7.42e-07/0.05897, allocations: 0 / 272.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of Templates: time 0.01338/0.07235, allocations: 6.144 MB / 279 MB, free: 6.707 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.535555470967665]