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.001763/0.001763, allocations: 124.5 kB / 17.79 MB, free: 5.266 MB / 14.72 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.002094/0.002094, allocations: 207.2 kB / 20.75 MB, free: 2.316 MB / 14.72 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 1.485/1.485, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001614/0.001614, allocations: 43.94 kB / 373.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1087, allocations: 53.34 MB / 426.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004701/0.1134, allocations: 2.852 MB / 429.7 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002212/0.1157, allocations: 1.3 MB / 431 MB, free: 112 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.1158, allocations: 4 kB / 431 MB, free: 108 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002708/0.1161, allocations: 71.36 kB / 431 MB, free: 36 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1979/0.314, allocations: 221.9 kB / 431.2 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004187/0.3144, allocations: 131.1 kB / 431.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005496/0.3149, allocations: 465.2 kB / 431.8 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.3151, allocations: 60.7 kB / 431.9 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003152/0.3154, allocations: 196.8 kB / 432.1 MB, free: 8.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002592/0.3157, allocations: 226.5 kB / 432.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.139e-05/0.3157, allocations: 42.59 kB / 432.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000299/0.316, allocations: 161.3 kB / 432.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.357e-05/0.3161, allocations: 90 kB / 432.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.3162, allocations: 193.1 kB / 432.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005346/0.3168, allocations: 0.508 MB / 433.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3168, allocations: 0 / 433.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3168, allocations: 0 / 433.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.3168, allocations: 4.938 kB / 433.3 MB, free: 8.434 MB / 350.1 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.001574/0.3184, allocations: 0.7163 MB / 434 MB, free: 7.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.3184, allocations: 9.188 kB / 434 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002464/0.3187, allocations: 46.75 kB / 434.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/0.3191, allocations: 330.5 kB / 434.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.764e-05/0.3191, allocations: 51.55 kB / 434.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/0.3193, allocations: 37.92 kB / 434.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006287/0.3199, allocations: 327.2 kB / 434.8 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.3199, allocations: 1.281 kB / 434.8 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.666e-05/0.32, allocations: 12.09 kB / 434.8 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.32, allocations: 7.719 kB / 434.8 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007349/0.3207, allocations: 304 kB / 435.1 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.3224, allocations: 1.17 MB / 436.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006058/0.323, allocations: 274.3 kB / 436.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003245/0.3233, allocations: 154.6 kB / 436.7 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.3234, allocations: 12.56 kB / 436.7 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.3234, allocations: 33.91 kB / 436.7 MB, free: 6.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.573e-06/0.3234, allocations: 0 / 436.7 MB, free: 6.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.009532/0.3329, allocations: 2.422 MB / 439.2 MB, free: 5.762 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.3329, allocations: 82.3 kB / 439.2 MB, free: 5.668 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003311/0.3333, allocations: 290.3 kB / 439.5 MB, free: 5.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/0.3333, allocations: 37.77 kB / 439.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.218e-05/0.3334, allocations: 172.2 kB / 439.7 MB, free: 5.312 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.3335, allocations: 155.4 kB / 439.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.3336, allocations: 78.88 kB / 440 MB, free: 5.152 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.309e-05/0.3337, allocations: 341.5 kB / 440.3 MB, free: 4.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000419/0.3341, allocations: 162.8 kB / 440.5 MB, free: 4.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004339/0.3346, allocations: 229.9 kB / 440.7 MB, free: 4.648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008137/0.3354, allocations: 402.2 kB / 441.1 MB, free: 4.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.3354, allocations: 5.609 kB / 441.1 MB, free: 4.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001123/0.3365, allocations: 490.2 kB / 441.6 MB, free: 4.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.3365, allocations: 8.969 kB / 441.6 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3365, allocations: 1.094 kB / 441.6 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.3365, allocations: 4.953 kB / 441.6 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006259/0.3372, allocations: 121.1 kB / 441.7 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.3372, allocations: 6.375 kB / 441.7 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004063/0.3376, allocations: 30.11 kB / 441.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.142e-05/0.3376, allocations: 19.2 kB / 441.7 MB, free: 4.23 MB / 350.1 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.000139/0.3378, allocations: 155.4 kB / 441.9 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.656e-05/0.3379, allocations: 31.66 kB / 441.9 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001908/0.3398, allocations: 0.6565 MB / 442.6 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/0.3398, allocations: 6.344 kB / 442.6 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3398, allocations: 1.094 kB / 442.6 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.3398, allocations: 3.156 kB / 442.6 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003164/0.343, allocations: 1.269 MB / 443.9 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.343, allocations: 0 / 443.9 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004568/0.3434, allocations: 89.94 kB / 443.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001599/0.345, allocations: 282.9 kB / 444.2 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.734e-05/0.3451, allocations: 8.453 kB / 444.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00364/0.3487, allocations: 2.431 MB / 446.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3487, allocations: 11.89 kB / 446.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00227/0.351, allocations: 1.006 MB / 447.7 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.3511, allocations: 144.2 kB / 447.8 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.68e-05/0.3512, allocations: 12.33 kB / 447.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004629/0.3516, allocations: 35.41 kB / 447.9 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.3518, allocations: 33.69 kB / 447.9 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-05/0.3518, allocations: 15.44 kB / 447.9 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002201/0.352, allocations: 214.5 kB / 448.1 MB, free: 396 kB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.352, allocations: 0 / 448.1 MB, free: 396 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005888/0.3526, allocations: 114.4 kB / 448.2 MB, free: 380 kB / 350.1 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.0002486/0.3529, allocations: 147.5 kB / 448.4 MB, free: 272 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009916/0.3538, allocations: 409 kB / 448.8 MB, free: 148 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3538, allocations: 1.312 kB / 448.8 MB, free: 148 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007086/0.3546, allocations: 371.7 kB / 449.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.3551, allocations: 38.19 kB / 449.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.3569, allocations: 0.9894 MB / 450.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/0.3573, allocations: 0.7882 MB / 451 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001894/0.3575, allocations: 39.02 kB / 451 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.3577, allocations: 39.86 kB / 451 MB, free: 14.61 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3577, allocations: 4 kB / 451 MB, free: 14.6 MB / 366.1 MB Notification: Performance of Templates: time 0.01304/0.3707, allocations: 6.477 MB / 457.5 MB, free: 12.33 MB / 366.1 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.893779415637255]