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.001401/0.001401, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 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.001531/0.001531, allocations: 212.4 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.429/1.429, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001579/0.001579, allocations: 55.92 kB / 378.2 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2374, allocations: 53.37 MB / 431.6 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005129/0.2426, allocations: 3.194 MB / 434.8 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002907/0.2455, allocations: 1.602 MB / 436.4 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002209/0.2457, allocations: 11.94 kB / 436.4 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003256/0.249, allocations: 2.659 MB / 439.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005773/0.2495, allocations: 222.5 kB / 439.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008019/0.2503, allocations: 334.2 kB / 439.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002024/0.2524, allocations: 1.821 MB / 441.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.2526, allocations: 96.03 kB / 441.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004709/0.2531, allocations: 325 kB / 441.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004326/0.2535, allocations: 326.8 kB / 442.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.2536, allocations: 48 kB / 442.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002693/0.2539, allocations: 99.92 kB / 442.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007491/0.2546, allocations: 0.8491 MB / 443.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006079/0.2552, allocations: 0.6666 MB / 443.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002532/0.2577, allocations: 2.675 MB / 446.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.2578, allocations: 0 / 446.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2578, allocations: 0 / 446.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.878e-05/0.2578, allocations: 0 / 446.5 MB, free: 7.75 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.004115/0.2619, allocations: 2.84 MB / 449.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.2619, allocations: 15.98 kB / 449.3 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004672/0.2624, allocations: 302.9 kB / 449.6 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002788/0.2652, allocations: 1.802 MB / 451.4 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.2653, allocations: 114.7 kB / 451.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/0.2655, allocations: 47.92 kB / 451.6 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007696/0.2662, allocations: 458.3 kB / 452 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.2663, allocations: 3.984 kB / 452 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.683e-05/0.2663, allocations: 19.94 kB / 452.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.2663, allocations: 8 kB / 452.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007133/0.267, allocations: 323.8 kB / 452.4 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003767/0.2708, allocations: 2.556 MB / 454.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006362/0.2714, allocations: 293.1 kB / 455.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003253/0.2718, allocations: 160.2 kB / 455.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.2718, allocations: 8 kB / 455.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.2718, allocations: 34.56 kB / 455.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 1.904e-06/0.2718, allocations: 0 / 455.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.004911/0.2767, allocations: 2.405 MB / 457.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/0.2768, allocations: 81.55 kB / 457.9 MB, free: 12.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006421/0.2832, allocations: 5.461 MB / 463.4 MB, free: 6.543 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/0.2833, allocations: 33.73 kB / 463.4 MB, free: 6.504 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001196/0.2845, allocations: 1.168 MB / 464.6 MB, free: 5.332 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.2846, allocations: 182.4 kB / 464.8 MB, free: 5.152 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.2847, allocations: 90.19 kB / 464.8 MB, free: 5.059 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.2849, allocations: 326 kB / 465.2 MB, free: 4.734 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003303/0.2852, allocations: 140.9 kB / 465.3 MB, free: 4.598 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/0.2856, allocations: 221.1 kB / 465.5 MB, free: 4.352 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007274/0.2863, allocations: 392.2 kB / 465.9 MB, free: 3.941 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.2863, allocations: 0 / 465.9 MB, free: 3.941 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001161/0.2875, allocations: 0.6972 MB / 466.6 MB, free: 3.238 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.2875, allocations: 8 kB / 466.6 MB, free: 3.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.2875, allocations: 0 / 466.6 MB, free: 3.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.2876, allocations: 4 kB / 466.6 MB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005241/0.2881, allocations: 127.8 kB / 466.7 MB, free: 3.102 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.2881, allocations: 4 kB / 466.7 MB, free: 3.098 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/0.2885, allocations: 20.2 kB / 466.8 MB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.2885, allocations: 23.98 kB / 466.8 MB, free: 3.055 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.001053/0.2896, allocations: 0.9192 MB / 467.7 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003325/0.2899, allocations: 290 kB / 468 MB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001456/0.2914, allocations: 0.7943 MB / 468.8 MB, free: 1.031 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.2914, allocations: 8 kB / 468.8 MB, free: 1.023 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.2914, allocations: 0 / 468.8 MB, free: 1.023 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.2914, allocations: 7.969 kB / 468.8 MB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/0.2929, allocations: 1.176 MB / 470 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.2929, allocations: 0 / 470 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000492/0.2934, allocations: 95.88 kB / 470.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003487/0.2937, allocations: 96.73 kB / 470.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/0.2938, allocations: 11.94 kB / 470.2 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006283/0.2944, allocations: 0.6382 MB / 470.8 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2944, allocations: 0 / 470.8 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.2962, allocations: 1.086 MB / 471.9 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009843/0.2971, allocations: 434.1 kB / 472.3 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000168/0.2973, allocations: 15.98 kB / 472.3 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004504/0.2978, allocations: 15.94 kB / 472.3 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.067e-05/0.2978, allocations: 32.38 kB / 472.4 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-05/0.2979, allocations: 15.98 kB / 472.4 MB, free: 13.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.004747/0.3026, allocations: 3.986 MB / 476.4 MB, free: 9.352 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3026, allocations: 0 / 476.4 MB, free: 9.352 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006319/0.3032, allocations: 207.9 kB / 476.6 MB, free: 9.148 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.001642/0.3049, allocations: 460.4 kB / 477 MB, free: 8.879 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007811/0.3057, allocations: 356.8 kB / 477.4 MB, free: 8.531 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3057, allocations: 0 / 477.4 MB, free: 8.531 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000465/0.3061, allocations: 202.9 kB / 477.6 MB, free: 8.336 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009835/0.3071, allocations: 188.4 kB / 477.8 MB, free: 8.152 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007219/0.3143, allocations: 5.503 MB / 483.3 MB, free: 2.605 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001556/0.3159, allocations: 1.246 MB / 484.5 MB, free: 1.324 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005011/0.3164, allocations: 279.8 kB / 484.8 MB, free: 1.047 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/0.3166, allocations: 95.36 kB / 484.9 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3166, allocations: 0 / 484.9 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of Templates: time 0.03295/0.3496, allocations: 17.5 MB / 0.4906 GB, free: 15.52 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.792149731889367]