Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.001798/0.001798, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001814/0.001814, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.427/1.427, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 43.92 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2101, allocations: 53.36 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005621/0.2157, allocations: 3.98 MB / 436.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002731/0.2185, allocations: 1.562 MB / 437.9 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002418/0.2187, allocations: 19.88 kB / 437.9 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003504/0.2191, allocations: 121.8 kB / 438 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007787/0.2198, allocations: 361.6 kB / 438.4 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004285/0.2203, allocations: 239.7 kB / 438.6 MB, free: 408 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009682/0.2212, allocations: 0.9824 MB / 439.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002816/0.2215, allocations: 162.1 kB / 439.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004756/0.222, allocations: 398.7 kB / 440.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005288/0.2225, allocations: 430.2 kB / 440.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.2226, allocations: 96 kB / 440.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003684/0.223, allocations: 219.9 kB / 440.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.2232, allocations: 199.3 kB / 441.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003348/0.2235, allocations: 342.5 kB / 441.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.2247, allocations: 1.183 MB / 442.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2247, allocations: 4 kB / 442.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2247, allocations: 0 / 442.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.2248, allocations: 0 / 442.6 MB, free: 12.41 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002568/0.2273, allocations: 1.038 MB / 443.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.2274, allocations: 12.03 kB / 443.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002641/0.2276, allocations: 92.45 kB / 443.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008012/0.2284, allocations: 473.4 kB / 444.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.2285, allocations: 130.9 kB / 444.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002123/0.2288, allocations: 68.5 kB / 444.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.23, allocations: 0.6985 MB / 445.1 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.885e-05/0.23, allocations: 0 / 445.1 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.473e-05/0.2301, allocations: 28 kB / 445.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.2301, allocations: 12 kB / 445.1 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.2313, allocations: 0.5204 MB / 445.6 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003419/0.2347, allocations: 1.975 MB / 447.6 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.2358, allocations: 449.2 kB / 448 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005641/0.2364, allocations: 258 kB / 448.3 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.2364, allocations: 4 kB / 448.3 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.2364, allocations: 46.5 kB / 448.3 MB, free: 6.398 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.734e-06/0.2364, allocations: 0 / 448.3 MB, free: 6.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.01409/0.2505, allocations: 3.317 MB / 451.7 MB, free: 3.043 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.2506, allocations: 93.48 kB / 451.8 MB, free: 2.934 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006792/0.2512, allocations: 0.5173 MB / 452.3 MB, free: 2.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.693e-05/0.2513, allocations: 37.7 kB / 452.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002373/0.2515, allocations: 316.8 kB / 452.6 MB, free: 2.051 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001939/0.2517, allocations: 222.1 kB / 452.8 MB, free: 1.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002205/0.252, allocations: 114.2 kB / 452.9 MB, free: 1.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.2521, allocations: 370.8 kB / 453.3 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005809/0.2527, allocations: 249.2 kB / 453.5 MB, free: 1.102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006506/0.2534, allocations: 348.5 kB / 453.9 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.2546, allocations: 0.6071 MB / 454.5 MB, free: 88 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2546, allocations: 0 / 454.5 MB, free: 88 kB / 350.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001603/0.2562, allocations: 0.7399 MB / 455.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2562, allocations: 12 kB / 455.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.2563, allocations: 11.98 kB / 455.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001552/0.2564, allocations: 32.83 kB / 455.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008711/0.2573, allocations: 159.8 kB / 455.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.2585, allocations: 1.308 MB / 456.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005768/0.259, allocations: 35.98 kB / 456.8 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.596e-05/0.2591, allocations: 23.98 kB / 456.8 MB, free: 13.65 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002922/0.2594, allocations: 205.7 kB / 457 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.2595, allocations: 55.67 kB / 457.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001992/0.2615, allocations: 0.8356 MB / 457.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.2615, allocations: 8 kB / 457.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.2615, allocations: 4 kB / 457.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.2615, allocations: 8.062 kB / 457.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00386/0.2654, allocations: 1.586 MB / 459.5 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.2654, allocations: 0 / 459.5 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006008/0.266, allocations: 115.9 kB / 459.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002536/0.2685, allocations: 468.3 kB / 460.1 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.784e-05/0.2686, allocations: 12 kB / 460.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005352/0.2739, allocations: 2.969 MB / 463.1 MB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.2739, allocations: 4.031 kB / 463.1 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003105/0.2771, allocations: 1.362 MB / 464.4 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003088/0.2774, allocations: 135.8 kB / 464.6 MB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.185e-05/0.2775, allocations: 15.98 kB / 464.6 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006359/0.2781, allocations: 35.97 kB / 464.6 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.2782, allocations: 60.5 kB / 464.7 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-05/0.2783, allocations: 19.98 kB / 464.7 MB, free: 5.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004673/0.2787, allocations: 367.1 kB / 465 MB, free: 5.234 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2787, allocations: 0 / 465 MB, free: 5.234 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007206/0.2795, allocations: 183.9 kB / 465.2 MB, free: 5.055 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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 {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002748/0.2797, allocations: 155 kB / 465.4 MB, free: 4.891 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001515/0.2812, allocations: 0.7031 MB / 466.1 MB, free: 4.176 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2813, allocations: 0.625 kB / 466.1 MB, free: 4.176 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009722/0.2822, allocations: 0.5021 MB / 466.6 MB, free: 3.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006211/0.2828, allocations: 70.02 kB / 466.7 MB, free: 3.594 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002844/0.2857, allocations: 1.488 MB / 468.1 MB, free: 2.074 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.286, allocations: 307.1 kB / 468.4 MB, free: 1.746 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003015/0.2863, allocations: 68.64 kB / 468.5 MB, free: 1.676 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/0.2865, allocations: 51.41 kB / 468.6 MB, free: 1.625 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2865, allocations: 4 kB / 468.6 MB, free: 1.621 MB / 366.1 MB Notification: Performance of Templates: time 0.01838/0.3049, allocations: 10.48 MB / 479 MB, free: 7.254 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.246080044002156]