Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.001568/0.001568, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001358/0.001358, allocations: 194.3 kB / 23.71 MB, free: 4.406 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.508/1.508, allocations: 225.7 MB / 252.5 MB, free: 12.79 MB / 206.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.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 55.92 kB / 370.9 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2445, allocations: 52.18 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004122/0.2486, allocations: 2.65 MB / 425.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.2505, allocations: 1.079 MB / 426.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.2507, allocations: 8 kB / 426.8 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001513/0.2522, allocations: 0.5817 MB / 427.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003018/0.2525, allocations: 131.1 kB / 427.5 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.2538, allocations: 0.6485 MB / 428.2 MB, free: 9.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004015/0.2542, allocations: 294.6 kB / 428.5 MB, free: 9.078 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000438/0.2547, allocations: 238.9 kB / 428.7 MB, free: 8.848 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002091/0.2549, allocations: 123.6 kB / 428.8 MB, free: 8.727 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002346/0.2551, allocations: 147.3 kB / 429 MB, free: 8.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.758e-05/0.2552, allocations: 28 kB / 429 MB, free: 8.555 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003678/0.2555, allocations: 171.8 kB / 429.1 MB, free: 8.387 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.061e-05/0.2556, allocations: 59.77 kB / 429.2 MB, free: 8.328 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.2557, allocations: 123.4 kB / 429.3 MB, free: 8.207 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006867/0.2564, allocations: 0.4929 MB / 429.8 MB, free: 7.715 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2564, allocations: 0 / 429.8 MB, free: 7.715 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2564, allocations: 0 / 429.8 MB, free: 7.715 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.2564, allocations: 8 kB / 429.8 MB, free: 7.707 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001665/0.2581, allocations: 0.6573 MB / 430.5 MB, free: 7.016 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.2581, allocations: 12.03 kB / 430.5 MB, free: 7.004 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008004/0.2589, allocations: 112.7 kB / 430.6 MB, free: 6.895 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003928/0.2593, allocations: 206.8 kB / 430.8 MB, free: 6.668 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.588e-05/0.2594, allocations: 29.03 kB / 430.8 MB, free: 6.641 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.519e-05/0.2594, allocations: 32.38 kB / 430.9 MB, free: 6.609 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005625/0.26, allocations: 337 kB / 431.2 MB, free: 6.273 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.26, allocations: 3.953 kB / 431.2 MB, free: 6.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.799e-05/0.2601, allocations: 8 kB / 431.2 MB, free: 6.262 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.2601, allocations: 8 kB / 431.2 MB, free: 6.254 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004258/0.2605, allocations: 238.5 kB / 431.5 MB, free: 6.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/0.2624, allocations: 1.039 MB / 432.5 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005055/0.2629, allocations: 236.4 kB / 432.7 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.2631, allocations: 92.77 kB / 432.8 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.789e-05/0.2631, allocations: 7.984 kB / 432.8 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.2632, allocations: 42.5 kB / 432.9 MB, free: 4.527 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.623e-06/0.2632, allocations: 0 / 432.9 MB, free: 4.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001202/0.2644, allocations: 409.8 kB / 433.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.2644, allocations: 55.39 kB / 433.3 MB, free: 4.055 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.2646, allocations: 170.1 kB / 433.5 MB, free: 3.875 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.2646, allocations: 29.7 kB / 433.5 MB, free: 3.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.2648, allocations: 176.4 kB / 433.7 MB, free: 3.664 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.287e-05/0.2648, allocations: 91.2 kB / 433.8 MB, free: 3.574 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.698e-05/0.2649, allocations: 53.98 kB / 433.8 MB, free: 3.512 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.2651, allocations: 322.8 kB / 434.1 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.2652, allocations: 72.53 kB / 434.2 MB, free: 3.117 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.2654, allocations: 133 kB / 434.3 MB, free: 2.961 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/0.2657, allocations: 221.2 kB / 434.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2657, allocations: 0 / 434.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005764/0.2662, allocations: 328.4 kB / 434.9 MB, free: 2.395 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.2663, allocations: 8 kB / 434.9 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2663, allocations: 0 / 434.9 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003118/0.2666, allocations: 76.8 kB / 435 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.2667, allocations: 43.92 kB / 435 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/0.2688, allocations: 1.892 MB / 436.9 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.2689, allocations: 27.78 kB / 436.9 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.269, allocations: 12 kB / 436.9 MB, free: 236 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000155/0.2691, allocations: 145.8 kB / 437.1 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.2692, allocations: 15.91 kB / 437.1 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005787/0.2697, allocations: 282.3 kB / 437.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.2697, allocations: 4 kB / 437.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.2697, allocations: 0 / 437.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2697, allocations: 4 kB / 437.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009238/0.2707, allocations: 0.5847 MB / 438 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2707, allocations: 0 / 438 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.2708, allocations: 23.94 kB / 438 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000239/0.271, allocations: 76.73 kB / 438.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.271, allocations: 4 kB / 438.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001988/0.273, allocations: 1.904 MB / 440 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.273, allocations: 0 / 440 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006728/0.2737, allocations: 439.1 kB / 440.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.528e-05/0.2738, allocations: 39.98 kB / 440.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.2738, allocations: 4 kB / 440.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.2739, allocations: 8 kB / 440.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.274, allocations: 23.95 kB / 440.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.274, allocations: 7.938 kB / 440.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.907e-05/0.2741, allocations: 118.7 kB / 440.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2741, allocations: 0 / 440.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005016/0.2746, allocations: 103.7 kB / 440.7 MB, free: 12.3 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002144/0.2748, allocations: 119.2 kB / 440.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006246/0.2754, allocations: 326.4 kB / 441.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.2754, allocations: 448 / 441.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003393/0.2758, allocations: 246.4 kB / 441.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.2761, allocations: 19.98 kB / 441.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.2771, allocations: 0.56 MB / 441.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.2773, allocations: 150.5 kB / 442.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.108e-05/0.2773, allocations: 17.95 kB / 442.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.2774, allocations: 15.44 kB / 442.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2774, allocations: 4 kB / 442.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of Templates: time 0.006914/0.2843, allocations: 2.871 MB / 445 MB, free: 7.93 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.708877570927143]