Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001911/0.001911, allocations: 103.5 kB / 20.97 MB, free: 3.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001972/0.001972, allocations: 156.8 kB / 24.27 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.54/1.54, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.546e-05, allocations: 2.312 kB / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005622/0.005648, allocations: 3.417 MB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003308/0.008955, allocations: 1.624 MB / 277.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002541/0.00921, allocations: 11.94 kB / 277.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003759/0.01297, allocations: 2.666 MB / 279.9 MB, free: 10.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007238/0.01369, allocations: 234.3 kB / 280.1 MB, free: 9.832 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008164/0.01451, allocations: 319.2 kB / 280.5 MB, free: 9.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002271/0.01678, allocations: 1.84 MB / 282.3 MB, free: 7.676 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/0.01701, allocations: 96.36 kB / 282.4 MB, free: 7.578 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007984/0.01781, allocations: 433 kB / 282.8 MB, free: 7.156 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005279/0.01834, allocations: 299.3 kB / 283.1 MB, free: 6.863 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001228/0.01846, allocations: 48 kB / 283.2 MB, free: 6.816 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002974/0.01876, allocations: 91.92 kB / 283.2 MB, free: 6.727 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001057/0.01982, allocations: 0.8649 MB / 284.1 MB, free: 5.859 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006215/0.02044, allocations: 474.1 kB / 284.6 MB, free: 5.395 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003065/0.0235, allocations: 2.523 MB / 287.1 MB, free: 2.863 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.02351, allocations: 0 / 287.1 MB, free: 2.863 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.02351, allocations: 0 / 287.1 MB, free: 2.863 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.261e-05/0.02355, allocations: 0 / 287.1 MB, free: 2.863 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.1473/0.1708, allocations: 3.229 MB / 290.3 MB, free: 26.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.1709, allocations: 9.875 kB / 290.3 MB, free: 26.42 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005828/0.1715, allocations: 335.9 kB / 290.7 MB, free: 26.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002525/0.174, allocations: 1.312 MB / 292 MB, free: 25.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.1741, allocations: 112 kB / 292.1 MB, free: 25.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001821/0.1743, allocations: 47.23 kB / 292.1 MB, free: 25.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007529/0.175, allocations: 454.8 kB / 292.6 MB, free: 25.53 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.175, allocations: 0.7656 kB / 292.6 MB, free: 25.53 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.561e-05/0.1751, allocations: 20.06 kB / 292.6 MB, free: 25.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.1751, allocations: 8.844 kB / 292.6 MB, free: 25.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006827/0.1758, allocations: 301.3 kB / 292.9 MB, free: 25.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005272/0.181, allocations: 3.14 MB / 296 MB, free: 23.83 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000595/0.1816, allocations: 301.2 kB / 296.3 MB, free: 23.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002772/0.1819, allocations: 157.3 kB / 296.5 MB, free: 23.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.004e-05/0.182, allocations: 7.125 kB / 296.5 MB, free: 23.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.182, allocations: 45.72 kB / 296.5 MB, free: 23.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 3.246e-06/0.182, allocations: 1.969 kB / 296.5 MB, free: 23.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.004908/0.1869, allocations: 2.324 MB / 298.9 MB, free: 22.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.1869, allocations: 88.09 kB / 298.9 MB, free: 22.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006212/0.1931, allocations: 4.003 MB / 303 MB, free: 20.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.19e-05/0.1932, allocations: 41.88 kB / 303 MB, free: 20.69 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001279/0.1945, allocations: 1.601 MB / 304.6 MB, free: 19.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.1947, allocations: 183.6 kB / 304.8 MB, free: 19.42 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.1948, allocations: 108.8 kB / 304.9 MB, free: 19.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.098e-05/0.1949, allocations: 0.4987 MB / 305.4 MB, free: 18.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/0.1951, allocations: 123.8 kB / 305.5 MB, free: 18.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002875/0.1954, allocations: 242.7 kB / 305.7 MB, free: 18.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004841/0.1959, allocations: 392 kB / 306.1 MB, free: 18.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.1959, allocations: 0 / 306.1 MB, free: 18.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00111/0.197, allocations: 0.6934 MB / 306.8 MB, free: 17.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.197, allocations: 4 kB / 306.8 MB, free: 17.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.197, allocations: 8.344 kB / 306.8 MB, free: 17.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.1971, allocations: 4 kB / 306.8 MB, free: 17.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004564/0.1975, allocations: 123.4 kB / 306.9 MB, free: 17.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.1975, allocations: 13.62 kB / 307 MB, free: 17.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004536/0.198, allocations: 9.406 kB / 307 MB, free: 17.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.198, allocations: 21.42 kB / 307 MB, free: 17.23 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.0002776/0.1983, allocations: 210 kB / 307.2 MB, free: 17.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002601/0.1986, allocations: 298.8 kB / 307.5 MB, free: 16.72 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.1996, allocations: 0.6759 MB / 308.2 MB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.1996, allocations: 4 kB / 308.2 MB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1996, allocations: 3.656 kB / 308.2 MB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.1996, allocations: 5.969 kB / 308.2 MB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/0.2016, allocations: 1.896 MB / 310.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.2016, allocations: 3.25 kB / 310.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003803/0.202, allocations: 91.89 kB / 310.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003294/0.2023, allocations: 85.62 kB / 310.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.2024, allocations: 11.98 kB / 310.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004111/0.2028, allocations: 0.8975 MB / 311.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.2028, allocations: 3.984 kB / 311.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.2041, allocations: 1.159 MB / 312.3 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008747/0.205, allocations: 404 kB / 312.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001708/0.2052, allocations: 12 kB / 312.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000425/0.2056, allocations: 19.98 kB / 312.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.853e-05/0.2057, allocations: 36.38 kB / 312.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.2057, allocations: 10.69 kB / 312.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.002485/0.2082, allocations: 2.213 MB / 315 MB, free: 9.316 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2082, allocations: 0 / 315 MB, free: 9.316 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006749/0.2088, allocations: 204 kB / 315.2 MB, free: 9.117 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.00283/0.2117, allocations: 444 kB / 315.6 MB, free: 8.926 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006574/0.2123, allocations: 374 kB / 316 MB, free: 8.562 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2123, allocations: 4 kB / 316 MB, free: 8.559 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003545/0.2127, allocations: 208.6 kB / 316.2 MB, free: 8.348 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.2137, allocations: 197.1 kB / 316.4 MB, free: 8.156 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003984/0.2177, allocations: 4.027 MB / 320.4 MB, free: 4.098 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008819/0.2186, allocations: 1.144 MB / 321.6 MB, free: 2.918 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003355/0.2189, allocations: 171.8 kB / 321.7 MB, free: 2.746 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/0.2191, allocations: 88.48 kB / 321.8 MB, free: 2.66 MB / 266.7 MB Notification: Performance of SimCode: time 1.302e-06/0.2191, allocations: 0 / 321.8 MB, free: 2.66 MB / 266.7 MB Notification: Performance of Templates: time 0.03066/0.2498, allocations: 15.16 MB / 337 MB, free: 3.594 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.060942732961848]