Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.002727/0.002727, allocations: 95.88 kB / 20.96 MB, free: 3.461 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.00212/0.00212, allocations: 149.1 kB / 24.26 MB, free: 168 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.542/1.542, allocations: 173.3 MB / 200.8 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 178] 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.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.658e-05, allocations: 2.312 kB / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005551/0.005577, allocations: 3.375 MB / 270.7 MB, free: 3.344 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002728/0.008305, allocations: 1.426 MB / 272.1 MB, free: 1.91 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001988/0.008504, allocations: 11.94 kB / 272.1 MB, free: 1.898 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003631/0.01214, allocations: 2.658 MB / 274.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004835/0.01262, allocations: 198.5 kB / 275 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007185/0.01334, allocations: 303.3 kB / 275.3 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00204/0.01538, allocations: 1.817 MB / 277.1 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000222/0.0156, allocations: 87.69 kB / 277.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005709/0.01617, allocations: 421.1 kB / 277.6 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000469/0.01664, allocations: 299.2 kB / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.01675, allocations: 44 kB / 277.9 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002048/0.01695, allocations: 87.91 kB / 278 MB, free: 12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008337/0.01779, allocations: 0.861 MB / 278.9 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006424/0.01843, allocations: 474.1 kB / 279.3 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003129/0.02156, allocations: 2.496 MB / 281.8 MB, free: 8.164 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.02156, allocations: 4 kB / 281.8 MB, free: 8.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.02157, allocations: 0 / 281.8 MB, free: 8.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.448e-05/0.02159, allocations: 0 / 281.8 MB, free: 8.16 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.005146/0.02674, allocations: 3.243 MB / 285.1 MB, free: 4.859 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.02678, allocations: 8.922 kB / 285.1 MB, free: 4.852 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004385/0.02722, allocations: 331 kB / 285.4 MB, free: 4.527 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002423/0.02964, allocations: 1.296 MB / 286.7 MB, free: 3.191 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.02978, allocations: 114.7 kB / 286.8 MB, free: 3.062 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001885/0.02997, allocations: 48.7 kB / 286.9 MB, free: 3.016 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007992/0.03077, allocations: 450.8 kB / 287.3 MB, free: 2.543 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.03079, allocations: 0 / 287.3 MB, free: 2.543 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.182e-05/0.03083, allocations: 16 kB / 287.3 MB, free: 2.527 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.03084, allocations: 8 kB / 287.3 MB, free: 2.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000705/0.03155, allocations: 307.8 kB / 287.6 MB, free: 2.219 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1455/0.177, allocations: 3.075 MB / 290.7 MB, free: 30.01 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007205/0.1778, allocations: 304.4 kB / 291 MB, free: 29.94 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000263/0.178, allocations: 147.6 kB / 291.1 MB, free: 29.92 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.268e-05/0.1781, allocations: 7.25 kB / 291.2 MB, free: 29.92 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.1781, allocations: 41.75 kB / 291.2 MB, free: 29.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 2.324e-06/0.1781, allocations: 0 / 291.2 MB, free: 29.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.004584/0.1827, allocations: 2.324 MB / 293.5 MB, free: 29.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.1827, allocations: 86.17 kB / 293.6 MB, free: 28.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005527/0.1882, allocations: 3.957 MB / 297.6 MB, free: 27.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.573e-05/0.1883, allocations: 36.08 kB / 297.6 MB, free: 27.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001351/0.1896, allocations: 1.568 MB / 299.2 MB, free: 26.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.1898, allocations: 179.3 kB / 299.3 MB, free: 26.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.1899, allocations: 112.6 kB / 299.4 MB, free: 26.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.385e-05/0.19, allocations: 0.5014 MB / 299.9 MB, free: 25.76 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/0.1903, allocations: 120.8 kB / 300.1 MB, free: 25.72 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/0.1906, allocations: 244.6 kB / 300.3 MB, free: 25.56 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000573/0.1912, allocations: 392.7 kB / 300.7 MB, free: 25.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1912, allocations: 0 / 300.7 MB, free: 25.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001146/0.1923, allocations: 0.6837 MB / 301.4 MB, free: 25.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.1923, allocations: 6.812 kB / 301.4 MB, free: 25.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.1923, allocations: 4.266 kB / 301.4 MB, free: 25.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.1924, allocations: 9.219 kB / 301.4 MB, free: 25.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000498/0.1929, allocations: 118.5 kB / 301.5 MB, free: 25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.1929, allocations: 5.391 kB / 301.5 MB, free: 25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004121/0.1933, allocations: 20.05 kB / 301.5 MB, free: 24.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.1933, allocations: 19.08 kB / 301.5 MB, free: 24.99 MB / 266.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.0002903/0.1936, allocations: 212.1 kB / 301.8 MB, free: 24.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002901/0.1939, allocations: 297.2 kB / 302 MB, free: 24.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/0.1951, allocations: 0.6769 MB / 302.7 MB, free: 24.35 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.1951, allocations: 5.125 kB / 302.7 MB, free: 24.35 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1951, allocations: 4.172 kB / 302.7 MB, free: 24.35 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.1951, allocations: 9.938 kB / 302.7 MB, free: 24.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00231/0.1974, allocations: 1.938 MB / 304.7 MB, free: 23.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1974, allocations: 0 / 304.7 MB, free: 23.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004112/0.1978, allocations: 93.81 kB / 304.8 MB, free: 23.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003599/0.1982, allocations: 97.14 kB / 304.9 MB, free: 23.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.1982, allocations: 10.02 kB / 304.9 MB, free: 23.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004269/0.1987, allocations: 0.8919 MB / 305.8 MB, free: 22.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1987, allocations: 0 / 305.8 MB, free: 22.46 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.2, allocations: 1.15 MB / 306.9 MB, free: 21.34 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008931/0.2009, allocations: 403.2 kB / 307.3 MB, free: 20.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/0.2011, allocations: 12.75 kB / 307.3 MB, free: 20.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004372/0.2015, allocations: 21.62 kB / 307.3 MB, free: 20.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.575e-05/0.2016, allocations: 35.25 kB / 307.4 MB, free: 20.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/0.2016, allocations: 15.62 kB / 307.4 MB, free: 20.92 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.002584/0.2042, allocations: 2.191 MB / 309.6 MB, free: 19.02 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2042, allocations: 3.719 kB / 309.6 MB, free: 19.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006226/0.2048, allocations: 206 kB / 309.8 MB, free: 18.82 MB / 266.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.002866/0.2077, allocations: 456.1 kB / 310.2 MB, free: 18.62 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006525/0.2083, allocations: 368.3 kB / 310.6 MB, free: 18.3 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2083, allocations: 3.688 kB / 310.6 MB, free: 18.3 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003574/0.2087, allocations: 212.6 kB / 310.8 MB, free: 18.08 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009803/0.2097, allocations: 201.6 kB / 311 MB, free: 17.88 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004137/0.2138, allocations: 4 MB / 315 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009447/0.2148, allocations: 1.14 MB / 316.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003296/0.2151, allocations: 163.5 kB / 316.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/0.2153, allocations: 92.48 kB / 316.4 MB, free: 12.41 MB / 266.7 MB Notification: Performance of SimCode: time 1.463e-06/0.2153, allocations: 4 kB / 316.4 MB, free: 12.4 MB / 266.7 MB Notification: Performance of Templates: time 0.02628/0.2416, allocations: 15.07 MB / 331.5 MB, free: 13.43 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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: 5.0824061029125005]