Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001326/0.001326, allocations: 85.23 kB / 21.44 MB, free: 296 kB / 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.001444/0.001444, allocations: 164.9 kB / 24.71 MB, free: 3.547 MB / 14.72 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.341/1.341, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 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.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 299 MB, free: 8.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.715e-05, allocations: 2.281 kB / 299 MB, free: 8.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004746/0.004773, allocations: 3.104 MB / 302.1 MB, free: 5.594 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002712/0.007485, allocations: 1.353 MB / 303.4 MB, free: 4.23 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000319/0.007804, allocations: 11.94 kB / 303.4 MB, free: 4.219 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003485/0.01129, allocations: 2.674 MB / 306.1 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005778/0.01187, allocations: 190.5 kB / 306.3 MB, free: 1.352 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000722/0.01259, allocations: 283.3 kB / 306.6 MB, free: 1.074 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002176/0.01476, allocations: 1.821 MB / 308.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002336/0.015, allocations: 87.69 kB / 308.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005803/0.01558, allocations: 413.2 kB / 308.9 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004247/0.016, allocations: 299.2 kB / 309.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.936e-05/0.0161, allocations: 47.94 kB / 309.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001891/0.01629, allocations: 71.94 kB / 309.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006854/0.01698, allocations: 0.8571 MB / 310.1 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005069/0.01748, allocations: 478 kB / 310.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002471/0.01995, allocations: 2.488 MB / 313.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.01996, allocations: 4 kB / 313.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01996, allocations: 0 / 313.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.83e-05/0.01998, allocations: 0 / 313.1 MB, free: 10.52 MB / 302.1 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.004175/0.02416, allocations: 2.789 MB / 315.9 MB, free: 7.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.0242, allocations: 8.031 kB / 315.9 MB, free: 7.672 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003842/0.02458, allocations: 299 kB / 316.2 MB, free: 7.379 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002582/0.02717, allocations: 1.789 MB / 318 MB, free: 5.551 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.02729, allocations: 110.7 kB / 318.1 MB, free: 5.426 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002015/0.02749, allocations: 48.73 kB / 318.1 MB, free: 5.379 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000783/0.02828, allocations: 446.3 kB / 318.6 MB, free: 4.918 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.02829, allocations: 0 / 318.6 MB, free: 4.918 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.97e-05/0.02833, allocations: 16 kB / 318.6 MB, free: 4.902 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.02835, allocations: 12 kB / 318.6 MB, free: 4.891 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007332/0.02908, allocations: 327.8 kB / 318.9 MB, free: 4.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003936/0.03302, allocations: 2.557 MB / 321.5 MB, free: 1.938 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006757/0.03369, allocations: 307.5 kB / 321.8 MB, free: 1.621 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000326/0.03402, allocations: 149.7 kB / 321.9 MB, free: 1.469 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.03405, allocations: 12.59 kB / 321.9 MB, free: 1.457 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.03409, allocations: 38.56 kB / 322 MB, free: 1.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.894e-06/0.03409, allocations: 4 kB / 322 MB, free: 1.406 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.1475/0.1816, allocations: 2.345 MB / 324.3 MB, free: 32.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.1817, allocations: 85.48 kB / 324.4 MB, free: 32.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006401/0.1881, allocations: 5.437 MB / 329.8 MB, free: 30.72 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.673e-05/0.1881, allocations: 38.8 kB / 329.9 MB, free: 30.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009565/0.1891, allocations: 1.157 MB / 331 MB, free: 29.81 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.1892, allocations: 174.6 kB / 331.2 MB, free: 29.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.1894, allocations: 88.5 kB / 331.3 MB, free: 29.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.697e-05/0.1894, allocations: 327.1 kB / 331.6 MB, free: 29.33 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003601/0.1898, allocations: 140.5 kB / 331.7 MB, free: 29.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003587/0.1901, allocations: 221.8 kB / 332 MB, free: 29.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006602/0.1908, allocations: 385.9 kB / 332.3 MB, free: 28.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.1908, allocations: 1.719 kB / 332.3 MB, free: 28.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001288/0.1921, allocations: 0.7001 MB / 333 MB, free: 28.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.1921, allocations: 6.906 kB / 333 MB, free: 28.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.1921, allocations: 6.641 kB / 333 MB, free: 28.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.1922, allocations: 10.91 kB / 333.1 MB, free: 28.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005124/0.1927, allocations: 120.6 kB / 333.2 MB, free: 28.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.1927, allocations: 6.328 kB / 333.2 MB, free: 28.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004826/0.1932, allocations: 21.62 kB / 333.2 MB, free: 28.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/0.1932, allocations: 18.36 kB / 333.2 MB, free: 28.59 MB / 302.1 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.001003/0.1942, allocations: 0.918 MB / 334.1 MB, free: 28.24 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002872/0.1945, allocations: 284.2 kB / 334.4 MB, free: 28.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.1958, allocations: 0.7733 MB / 335.2 MB, free: 27.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.1958, allocations: 4.156 kB / 335.2 MB, free: 27.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.1959, allocations: 5.094 kB / 335.2 MB, free: 27.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/0.1959, allocations: 6.656 kB / 335.2 MB, free: 27.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/0.1973, allocations: 1.177 MB / 336.4 MB, free: 27.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.1973, allocations: 0 / 336.4 MB, free: 27.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004382/0.1977, allocations: 96.38 kB / 336.5 MB, free: 27.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002973/0.198, allocations: 84.86 kB / 336.6 MB, free: 27.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/0.1981, allocations: 8.859 kB / 336.6 MB, free: 27.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004107/0.1985, allocations: 0.6375 MB / 337.2 MB, free: 26.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1985, allocations: 5.312 kB / 337.2 MB, free: 26.72 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.2, allocations: 1.07 MB / 338.3 MB, free: 26.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006683/0.2006, allocations: 429.4 kB / 338.7 MB, free: 25.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/0.2008, allocations: 10.3 kB / 338.7 MB, free: 25.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004644/0.2013, allocations: 20.94 kB / 338.7 MB, free: 25.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.371e-05/0.2013, allocations: 31.17 kB / 338.8 MB, free: 25.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.829e-05/0.2014, allocations: 14.98 kB / 338.8 MB, free: 25.87 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.003801/0.2052, allocations: 3.975 MB / 342.8 MB, free: 23.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2052, allocations: 0 / 342.8 MB, free: 23.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006466/0.2058, allocations: 202 kB / 343 MB, free: 23.69 MB / 302.1 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.001504/0.2073, allocations: 443.9 kB / 343.4 MB, free: 23.33 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007053/0.208, allocations: 364.5 kB / 343.7 MB, free: 23.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.208, allocations: 0 / 343.7 MB, free: 23.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003837/0.2084, allocations: 198.8 kB / 343.9 MB, free: 22.85 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009842/0.2094, allocations: 182.7 kB / 344.1 MB, free: 22.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005253/0.2147, allocations: 5.339 MB / 349.5 MB, free: 17.37 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/0.2157, allocations: 1.237 MB / 350.7 MB, free: 16.09 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005179/0.2163, allocations: 271.5 kB / 351 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002444/0.2165, allocations: 88.48 kB / 351 MB, free: 15.73 MB / 302.1 MB Notification: Performance of SimCode: time 8.21e-07/0.2165, allocations: 0 / 351 MB, free: 15.73 MB / 302.1 MB Notification: Performance of Templates: time 0.02564/0.2421, allocations: 15.13 MB / 366.2 MB, free: 0.6055 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.668200492858887]