Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001821/0.001821, allocations: 116.1 kB / 21.18 MB, free: 0.7422 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.001994/0.001994, allocations: 214.8 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.377/1.377, allocations: 230.4 MB / 258.1 MB, free: 8.137 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 71.83 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2124, allocations: 53.31 MB / 432.1 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005201/0.2176, allocations: 3.485 MB / 435.5 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002846/0.2205, allocations: 1.672 MB / 437.2 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002482/0.2207, allocations: 11.94 kB / 437.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003175/0.2239, allocations: 2.663 MB / 439.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005741/0.2245, allocations: 230.5 kB / 440.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007369/0.2252, allocations: 314.7 kB / 440.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002029/0.2273, allocations: 1.817 MB / 442.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.2274, allocations: 99.95 kB / 442.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004524/0.2279, allocations: 321 kB / 442.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004817/0.2284, allocations: 358.7 kB / 443 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.291e-05/0.2285, allocations: 51.94 kB / 443 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.2287, allocations: 91.97 kB / 443.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006626/0.2293, allocations: 0.8453 MB / 444 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000828/0.2302, allocations: 0.9462 MB / 444.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002506/0.2327, allocations: 2.651 MB / 447.6 MB, free: 7.844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2327, allocations: 0 / 447.6 MB, free: 7.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2327, allocations: 0 / 447.6 MB, free: 7.844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.42e-05/0.2327, allocations: 0 / 447.6 MB, free: 7.844 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.004618/0.2373, allocations: 2.923 MB / 450.5 MB, free: 4.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.2374, allocations: 12.03 kB / 450.5 MB, free: 4.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005227/0.2379, allocations: 302.9 kB / 450.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002868/0.2408, allocations: 1.862 MB / 452.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.579e-05/0.2408, allocations: 59.25 kB / 452.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.241, allocations: 43.94 kB / 452.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007589/0.2418, allocations: 402.9 kB / 453.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.2418, allocations: 0 / 453.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.558e-05/0.2418, allocations: 16 kB / 453.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.2418, allocations: 8 kB / 453.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007399/0.2426, allocations: 327.7 kB / 453.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004368/0.2469, allocations: 2.908 MB / 456.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00065/0.2476, allocations: 297 kB / 456.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003269/0.2479, allocations: 154.5 kB / 456.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.248, allocations: 4 kB / 456.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.248, allocations: 47.03 kB / 456.9 MB, free: 14.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 1.683e-06/0.248, allocations: 0 / 456.9 MB, free: 14.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.004995/0.253, allocations: 2.472 MB / 459.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.253, allocations: 85.55 kB / 459.5 MB, free: 11.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006603/0.2596, allocations: 5.455 MB / 464.9 MB, free: 6.145 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.982e-05/0.2597, allocations: 33.7 kB / 465 MB, free: 6.105 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001198/0.2609, allocations: 1.192 MB / 466.1 MB, free: 4.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.261, allocations: 174.5 kB / 466.3 MB, free: 4.738 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.2612, allocations: 94.2 kB / 466.4 MB, free: 4.637 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.2613, allocations: 322 kB / 466.7 MB, free: 4.316 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003524/0.2617, allocations: 141 kB / 466.9 MB, free: 4.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003859/0.262, allocations: 225.6 kB / 467.1 MB, free: 3.938 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007215/0.2628, allocations: 380.3 kB / 467.5 MB, free: 3.539 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2628, allocations: 4 kB / 467.5 MB, free: 3.535 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001175/0.2639, allocations: 0.7011 MB / 468.2 MB, free: 2.828 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.264, allocations: 8 kB / 468.2 MB, free: 2.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.264, allocations: 0 / 468.2 MB, free: 2.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.264, allocations: 4 kB / 468.2 MB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005228/0.2645, allocations: 127.8 kB / 468.3 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.2645, allocations: 4 kB / 468.3 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000398/0.2649, allocations: 24.17 kB / 468.3 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/0.2649, allocations: 20 kB / 468.3 MB, free: 2.645 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.001035/0.266, allocations: 0.923 MB / 469.3 MB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003422/0.2663, allocations: 282.1 kB / 469.5 MB, free: 1.434 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.2678, allocations: 0.8021 MB / 470.3 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.2678, allocations: 0 / 470.3 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.2678, allocations: 0 / 470.3 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009686/0.2687, allocations: 0.4991 MB / 470.8 MB, free: 104 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/0.2689, allocations: 8 kB / 470.8 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004905/0.2694, allocations: 19.98 kB / 470.9 MB, free: 76 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.759e-05/0.2695, allocations: 32.34 kB / 470.9 MB, free: 44 kB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001535/0.271, allocations: 0.6519 MB / 471.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001579/0.2726, allocations: 1.092 MB / 472.6 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003478/0.2729, allocations: 167.5 kB / 472.8 MB, free: 14.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00462/0.2776, allocations: 3.997 MB / 476.8 MB, free: 10.11 MB / 382.1 MB Notification: Performance of Backend: time 2.9e-07/0.2776, allocations: 0 / 476.8 MB, free: 10.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003003/0.2806, allocations: 1.121 MB / 477.9 MB, free: 9.18 MB / 382.1 MB Notification: Performance of SimCode: time 0.006825/0.2874, allocations: 5.641 MB / 483.6 MB, free: 3.477 MB / 382.1 MB Notification: Performance of Templates: time 0.03019/0.3176, allocations: 16.62 MB / 0.4885 GB, free: 2.914 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.602003364823759]