Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 79.78 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002258/0.002258, allocations: 149.1 kB / 23.94 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 173.3 MB / 200.4 MB, free: 12.86 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.382e-05, allocations: 2.281 kB / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005067/0.005091, allocations: 3.939 MB / 322.9 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003026/0.008118, allocations: 1.515 MB / 324.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006497/0.008767, allocations: 13 kB / 324.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004771/0.009244, allocations: 129.1 kB / 324.5 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001177/0.01042, allocations: 374.7 kB / 324.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000609/0.01103, allocations: 228.8 kB / 325.1 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001162/0.01219, allocations: 1.013 MB / 326.1 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003116/0.0125, allocations: 160.3 kB / 326.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007409/0.01325, allocations: 0.5497 MB / 326.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005448/0.01379, allocations: 330.3 kB / 327.1 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.01393, allocations: 96.31 kB / 327.2 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000406/0.01433, allocations: 210.4 kB / 327.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002278/0.01456, allocations: 198.6 kB / 327.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003704/0.01493, allocations: 298.9 kB / 327.9 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001534/0.01647, allocations: 1.213 MB / 329.1 MB, free: 13.63 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.01647, allocations: 5.031 kB / 329.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01647, allocations: 0 / 329.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.589e-05/0.01649, allocations: 0.6562 kB / 329.2 MB, free: 13.63 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002579/0.01907, allocations: 1.038 MB / 330.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.0191, allocations: 11.2 kB / 330.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.01927, allocations: 83.17 kB / 330.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008369/0.02011, allocations: 462.2 kB / 330.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.02024, allocations: 124.7 kB / 330.9 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002062/0.02045, allocations: 70.34 kB / 330.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.02187, allocations: 0.7051 MB / 331.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.205e-05/0.0219, allocations: 16.98 kB / 331.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.017e-05/0.02197, allocations: 21.34 kB / 331.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/0.02199, allocations: 13.31 kB / 331.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.02321, allocations: 0.5202 MB / 332.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003442/0.02666, allocations: 1.963 MB / 334.2 MB, free: 9.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.02772, allocations: 465.4 kB / 334.6 MB, free: 9.703 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005828/0.0283, allocations: 254.8 kB / 334.9 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/0.02833, allocations: 4.75 kB / 334.9 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.02837, allocations: 38.09 kB / 334.9 MB, free: 9.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=45): time 1.904e-06/0.02837, allocations: 1.094 kB / 334.9 MB, free: 9.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.01389/0.04227, allocations: 3.316 MB / 338.2 MB, free: 7.832 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.04233, allocations: 87.98 kB / 338.3 MB, free: 7.734 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007808/0.04311, allocations: 0.5145 MB / 338.8 MB, free: 7.414 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.38e-05/0.04317, allocations: 36.17 kB / 338.9 MB, free: 7.375 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/0.04343, allocations: 320.3 kB / 339.2 MB, free: 7.094 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/0.04365, allocations: 219.8 kB / 339.4 MB, free: 6.895 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/0.04388, allocations: 110.3 kB / 339.5 MB, free: 6.781 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.04408, allocations: 370.7 kB / 339.9 MB, free: 6.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006406/0.04472, allocations: 249.2 kB / 340.1 MB, free: 6.168 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007343/0.04546, allocations: 348.5 kB / 340.4 MB, free: 5.793 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.04684, allocations: 0.6071 MB / 341 MB, free: 5.156 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.04685, allocations: 0 / 341 MB, free: 5.156 MB / 302.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001768/0.04861, allocations: 0.7397 MB / 341.8 MB, free: 4.406 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.04863, allocations: 4.312 kB / 341.8 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.04864, allocations: 8 kB / 341.8 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000206/0.04885, allocations: 36.77 kB / 341.8 MB, free: 4.355 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009027/0.04975, allocations: 163.8 kB / 342 MB, free: 4.195 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/0.05114, allocations: 1.302 MB / 343.3 MB, free: 2.785 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006472/0.05179, allocations: 35.94 kB / 343.3 MB, free: 2.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.443e-05/0.05185, allocations: 31.98 kB / 343.4 MB, free: 2.719 MB / 302.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.0003401/0.05219, allocations: 197.7 kB / 343.6 MB, free: 2.516 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.05234, allocations: 55.67 kB / 343.6 MB, free: 2.461 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002173/0.05452, allocations: 0.8472 MB / 344.5 MB, free: 1.605 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.05453, allocations: 8 kB / 344.5 MB, free: 1.598 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.05453, allocations: 0 / 344.5 MB, free: 1.598 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.05454, allocations: 7.984 kB / 344.5 MB, free: 1.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004163/0.0587, allocations: 1.586 MB / 346.1 MB, free: 15.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.05871, allocations: 0 / 346.1 MB, free: 15.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005735/0.05928, allocations: 107.9 kB / 346.2 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002656/0.06194, allocations: 484.1 kB / 346.6 MB, free: 15.37 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.997e-05/0.062, allocations: 16 kB / 346.7 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00579/0.06779, allocations: 2.961 MB / 349.6 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.06779, allocations: 0 / 349.6 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003392/0.07118, allocations: 1.366 MB / 351 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004088/0.07159, allocations: 135.5 kB / 351.1 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.07172, allocations: 12 kB / 351.1 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006748/0.0724, allocations: 35.97 kB / 351.2 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.07255, allocations: 52.56 kB / 351.2 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.332e-05/0.07261, allocations: 23.98 kB / 351.2 MB, free: 10.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005358/0.07314, allocations: 367.1 kB / 351.6 MB, free: 10.3 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.07314, allocations: 0 / 351.6 MB, free: 10.3 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008653/0.07401, allocations: 183.9 kB / 351.8 MB, free: 10.12 MB / 318.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.0003624/0.07437, allocations: 159 kB / 351.9 MB, free: 9.953 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001714/0.07608, allocations: 0.7031 MB / 352.6 MB, free: 9.238 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.07609, allocations: 4.625 kB / 352.6 MB, free: 9.234 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.07715, allocations: 0.5058 MB / 353.1 MB, free: 8.711 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006762/0.07782, allocations: 82.86 kB / 353.2 MB, free: 8.637 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.0808, allocations: 1.358 MB / 354.6 MB, free: 7.25 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.08116, allocations: 307.1 kB / 354.9 MB, free: 6.922 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003034/0.08147, allocations: 64.67 kB / 354.9 MB, free: 6.859 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/0.08168, allocations: 52.47 kB / 355 MB, free: 6.809 MB / 318.1 MB Notification: Performance of SimCode: time 6.12e-07/0.08168, allocations: 0 / 355 MB, free: 6.809 MB / 318.1 MB Notification: Performance of Templates: time 0.01874/0.1004, allocations: 9.464 MB / 364.5 MB, free: 13.45 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.6317662708461285]