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.001755/0.001755, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.002092/0.002092, allocations: 213 kB / 23.73 MB, free: 4.164 MB / 14.72 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.503/1.503, allocations: 230.5 MB / 257.4 MB, free: 7.828 MB / 206.1 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 0.002041/0.002041, allocations: 63.89 kB / 378.2 MB, free: 2.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2342, allocations: 53.41 MB / 431.6 MB, free: 6.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005211/0.2394, allocations: 3.198 MB / 434.8 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002902/0.2423, allocations: 1.597 MB / 436.4 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001988/0.2425, allocations: 11.94 kB / 436.4 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003356/0.2458, allocations: 2.663 MB / 439.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000564/0.2464, allocations: 222.6 kB / 439.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007876/0.2472, allocations: 326.4 kB / 439.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001971/0.2492, allocations: 1.825 MB / 441.5 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.2494, allocations: 94.91 kB / 441.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004539/0.2498, allocations: 329 kB / 441.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004485/0.2503, allocations: 334.7 kB / 442.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.2504, allocations: 44 kB / 442.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002245/0.2506, allocations: 91.98 kB / 442.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007238/0.2513, allocations: 0.8453 MB / 443.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000632/0.2519, allocations: 0.6666 MB / 443.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002693/0.2546, allocations: 2.672 MB / 446.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2546, allocations: 4 kB / 446.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2546, allocations: 7.938 kB / 446.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.469e-05/0.2547, allocations: 3.938 kB / 446.5 MB, free: 7.594 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004326/0.259, allocations: 2.84 MB / 449.4 MB, free: 4.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.259, allocations: 8.031 kB / 449.4 MB, free: 4.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004769/0.2595, allocations: 310.9 kB / 449.7 MB, free: 4.391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002892/0.2624, allocations: 1.798 MB / 451.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.2625, allocations: 106.7 kB / 451.6 MB, free: 2.434 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001783/0.2627, allocations: 60.45 kB / 451.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007838/0.2635, allocations: 454.3 kB / 452.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.2635, allocations: 0 / 452.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.2635, allocations: 16 kB / 452.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.2635, allocations: 8 kB / 452.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000739/0.2643, allocations: 323.7 kB / 452.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004184/0.2685, allocations: 2.552 MB / 455 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006754/0.2691, allocations: 300.1 kB / 455.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003272/0.2695, allocations: 165.5 kB / 455.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.2695, allocations: 4 kB / 455.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.2695, allocations: 38.56 kB / 455.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 1.874e-06/0.2695, allocations: 0 / 455.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.005014/0.2746, allocations: 2.398 MB / 457.9 MB, free: 11.97 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/0.2746, allocations: 93.47 kB / 458 MB, free: 11.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006755/0.2814, allocations: 5.457 MB / 463.4 MB, free: 6.398 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.673e-05/0.2814, allocations: 33.7 kB / 463.5 MB, free: 6.359 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001202/0.2826, allocations: 1.172 MB / 464.6 MB, free: 5.184 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.2828, allocations: 182.4 kB / 464.8 MB, free: 5.004 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.2829, allocations: 86.19 kB / 464.9 MB, free: 4.914 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.2831, allocations: 330 kB / 465.2 MB, free: 4.586 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003474/0.2834, allocations: 141 kB / 465.4 MB, free: 4.449 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003999/0.2838, allocations: 217.1 kB / 465.6 MB, free: 4.207 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007484/0.2846, allocations: 388.3 kB / 466 MB, free: 3.801 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2846, allocations: 0 / 466 MB, free: 3.801 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001251/0.2858, allocations: 0.6933 MB / 466.6 MB, free: 3.098 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.2859, allocations: 12.19 kB / 466.7 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.2859, allocations: 4 kB / 466.7 MB, free: 3.082 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.2859, allocations: 4 kB / 466.7 MB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005293/0.2864, allocations: 123.8 kB / 466.8 MB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.2864, allocations: 4 kB / 466.8 MB, free: 2.953 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004195/0.2868, allocations: 19.95 kB / 466.8 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.2869, allocations: 19.98 kB / 466.8 MB, free: 2.914 MB / 366.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.001108/0.288, allocations: 0.9192 MB / 467.8 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003539/0.2883, allocations: 298 kB / 468 MB, free: 1.691 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00152/0.2899, allocations: 0.7943 MB / 468.8 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.2899, allocations: 4 kB / 468.8 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.2899, allocations: 4 kB / 468.8 MB, free: 0.875 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.2899, allocations: 3.984 kB / 468.8 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.2915, allocations: 1.18 MB / 470 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.2915, allocations: 0 / 470 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004623/0.2919, allocations: 99.83 kB / 470.1 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003483/0.2923, allocations: 88.78 kB / 470.2 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.2923, allocations: 8 kB / 470.2 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006256/0.2929, allocations: 0.6382 MB / 470.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.2929, allocations: 8.094 kB / 470.9 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.2947, allocations: 1.083 MB / 471.9 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/0.2957, allocations: 434 kB / 472.4 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/0.2959, allocations: 15.98 kB / 472.4 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004838/0.2964, allocations: 16 kB / 472.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.426e-05/0.2965, allocations: 32.38 kB / 472.4 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.2965, allocations: 15.98 kB / 472.5 MB, free: 13.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.005009/0.3015, allocations: 3.986 MB / 476.4 MB, free: 9.207 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3015, allocations: 0 / 476.4 MB, free: 9.207 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007192/0.3022, allocations: 211.9 kB / 476.6 MB, free: 9 MB / 382.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.001705/0.3039, allocations: 441.8 kB / 477.1 MB, free: 8.715 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008608/0.3048, allocations: 356.9 kB / 477.4 MB, free: 8.367 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3048, allocations: 0 / 477.4 MB, free: 8.367 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004903/0.3053, allocations: 202.4 kB / 477.6 MB, free: 8.172 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.3063, allocations: 187.8 kB / 477.8 MB, free: 7.984 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007958/0.3143, allocations: 5.503 MB / 483.3 MB, free: 2.438 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001592/0.3159, allocations: 1.246 MB / 484.6 MB, free: 1.156 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006549/0.3165, allocations: 283.8 kB / 484.8 MB, free: 0.875 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/0.3168, allocations: 91.42 kB / 484.9 MB, free: 0.7852 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3168, allocations: 0 / 484.9 MB, free: 0.7852 MB / 382.1 MB Notification: Performance of Templates: time 0.03521/0.352, allocations: 17.5 MB / 0.4906 GB, free: 15.36 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 480] 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: 4.929853282868862]