Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.0009207/0.0009207, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.000993/0.000993, allocations: 162.8 kB / 25.61 MB, free: 8.902 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.9279/0.9279, allocations: 177.1 MB / 206.1 MB, free: 4.488 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.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 274.2 MB, free: 4.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.776e-05, allocations: 5.688 kB / 274.2 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005064/0.005092, allocations: 3.393 MB / 277.6 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003293/0.008385, allocations: 1.617 MB / 279.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004358/0.008821, allocations: 7.938 kB / 279.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003608/0.01243, allocations: 2.678 MB / 281.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006175/0.01305, allocations: 234.3 kB / 282.1 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007525/0.0138, allocations: 323.2 kB / 282.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002076/0.01588, allocations: 1.836 MB / 284.3 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.01608, allocations: 96.31 kB / 284.4 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001127/0.01721, allocations: 0.5034 MB / 284.9 MB, free: 9.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004017/0.01761, allocations: 299.2 kB / 285.2 MB, free: 9.457 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.239e-05/0.0177, allocations: 44 kB / 285.2 MB, free: 9.414 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/0.01789, allocations: 87.92 kB / 285.3 MB, free: 9.328 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006201/0.01851, allocations: 0.8688 MB / 286.2 MB, free: 8.457 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005143/0.01902, allocations: 470.1 kB / 286.6 MB, free: 7.996 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001547/0.02057, allocations: 1.499 MB / 288.1 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.02057, allocations: 3.938 kB / 288.1 MB, free: 6.488 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.02057, allocations: 0 / 288.1 MB, free: 6.488 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.937e-05/0.0206, allocations: 3.938 kB / 288.1 MB, free: 6.484 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.003853/0.02445, allocations: 3.047 MB / 291.2 MB, free: 3.379 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.02449, allocations: 8.031 kB / 291.2 MB, free: 3.371 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000485/0.02497, allocations: 334.9 kB / 291.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/0.02649, allocations: 1.221 MB / 292.7 MB, free: 1.781 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.685e-05/0.02658, allocations: 110.7 kB / 292.8 MB, free: 1.656 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.02673, allocations: 52.67 kB / 292.9 MB, free: 1.605 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004931/0.02722, allocations: 359.5 kB / 293.2 MB, free: 1.223 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.02724, allocations: 3.984 kB / 293.2 MB, free: 1.219 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.02728, allocations: 16 kB / 293.3 MB, free: 1.203 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.02729, allocations: 8 kB / 293.3 MB, free: 1.195 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003119/0.0276, allocations: 162.8 kB / 293.4 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003026/0.03063, allocations: 2.038 MB / 295.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003683/0.03099, allocations: 233.9 kB / 295.7 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.03114, allocations: 99.3 kB / 295.8 MB, free: 14.55 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.03117, allocations: 8.578 kB / 295.8 MB, free: 14.55 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.0312, allocations: 41.39 kB / 295.8 MB, free: 14.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=37): time 2.044e-06/0.03121, allocations: 0 / 295.8 MB, free: 14.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=48): time 0.002795/0.034, allocations: 1.25 MB / 297.1 MB, free: 13.2 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.03404, allocations: 89.55 kB / 297.2 MB, free: 13.1 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002695/0.03673, allocations: 3.313 MB / 300.5 MB, free: 9.773 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.03676, allocations: 37.7 kB / 300.5 MB, free: 9.73 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001137/0.0379, allocations: 1.548 MB / 302.1 MB, free: 8.176 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.03802, allocations: 174.5 kB / 302.2 MB, free: 8.004 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.03817, allocations: 95.77 kB / 302.3 MB, free: 7.902 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.03834, allocations: 0.4964 MB / 302.8 MB, free: 7.398 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.547e-05/0.03842, allocations: 52.98 kB / 302.9 MB, free: 7.348 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.03855, allocations: 170.6 kB / 303.1 MB, free: 7.145 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.03877, allocations: 247 kB / 303.3 MB, free: 6.867 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.03878, allocations: 0 / 303.3 MB, free: 6.867 MB / 282.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0004698/0.03925, allocations: 0.5581 MB / 303.9 MB, free: 6.301 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.87e-05/0.03926, allocations: 8 kB / 303.9 MB, free: 6.293 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.03927, allocations: 0 / 303.9 MB, free: 6.293 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.03928, allocations: 7.938 kB / 303.9 MB, free: 6.285 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/0.03955, allocations: 119.8 kB / 304 MB, free: 6.168 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.03956, allocations: 4 kB / 304 MB, free: 6.164 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.03974, allocations: 20.19 kB / 304 MB, free: 6.145 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.03976, allocations: 16 kB / 304 MB, free: 6.129 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (62): * Single equations (assignments): 62 * 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.0002059/0.03997, allocations: 188.4 kB / 304.2 MB, free: 5.934 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/0.04018, allocations: 302.1 kB / 304.5 MB, free: 5.637 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.04142, allocations: 0.5447 MB / 305 MB, free: 5.078 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-06/0.04143, allocations: 7.984 kB / 305.1 MB, free: 5.07 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.04144, allocations: 3.938 kB / 305.1 MB, free: 5.066 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.04144, allocations: 0 / 305.1 MB, free: 5.066 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.04276, allocations: 1.023 MB / 306.1 MB, free: 4.016 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.04277, allocations: 0 / 306.1 MB, free: 4.016 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000367/0.04313, allocations: 91.89 kB / 306.2 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000261/0.04339, allocations: 71.59 kB / 306.2 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.481e-05/0.04343, allocations: 15.98 kB / 306.3 MB, free: 3.836 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000509/0.04394, allocations: 0.8506 MB / 307.1 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.04394, allocations: 0 / 307.1 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.04501, allocations: 0.9501 MB / 308.1 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004917/0.0455, allocations: 350 kB / 308.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.04561, allocations: 12 kB / 308.4 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.04585, allocations: 15.98 kB / 308.4 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.0459, allocations: 40.31 kB / 308.5 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.04592, allocations: 16.03 kB / 308.5 MB, free: 1.551 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001355/0.04727, allocations: 1.849 MB / 310.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04727, allocations: 0 / 310.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004501/0.04772, allocations: 207.9 kB / 310.5 MB, free: 15.51 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * 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 (41): * Single equations (assignments): 40 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007985/0.04852, allocations: 400.1 kB / 310.9 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002706/0.04879, allocations: 234.8 kB / 311.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.0488, allocations: 0 / 311.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.04897, allocations: 152.5 kB / 311.3 MB, free: 14.87 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006502/0.04962, allocations: 202.7 kB / 311.5 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003685/0.05331, allocations: 3.941 MB / 315.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000669/0.05398, allocations: 0.559 MB / 316 MB, free: 10.08 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002502/0.05423, allocations: 175.8 kB / 316.2 MB, free: 9.906 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003101/0.05454, allocations: 254.2 kB / 316.4 MB, free: 9.656 MB / 298.7 MB Notification: Performance of SimCode: time 8.42e-07/0.05454, allocations: 0 / 316.4 MB, free: 9.656 MB / 298.7 MB Notification: Performance of Templates: time 0.02495/0.07949, allocations: 16.5 MB / 332.9 MB, free: 9.242 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.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.134964365977794]