Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.001291/0.001291, allocations: 112.5 kB / 21.19 MB, free: 0.7617 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.001423/0.001423, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.393/1.393, allocations: 230.6 MB / 258.3 MB, free: 7.965 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.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 51.94 kB / 379 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2449, allocations: 53.35 MB / 432.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004181/0.2491, allocations: 2.885 MB / 435.3 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001924/0.251, allocations: 1.234 MB / 436.5 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.2512, allocations: 8 kB / 436.5 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.2527, allocations: 0.63 MB / 437.2 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003122/0.253, allocations: 139 kB / 437.3 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.2543, allocations: 0.6537 MB / 437.9 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004618/0.2548, allocations: 294.6 kB / 438.2 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000458/0.2552, allocations: 248.7 kB / 438.5 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002366/0.2555, allocations: 131.5 kB / 438.6 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003363/0.2558, allocations: 167.4 kB / 438.8 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.177e-05/0.2559, allocations: 32 kB / 438.8 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003781/0.2562, allocations: 183.8 kB / 439 MB, free: 328 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.717e-05/0.2563, allocations: 59.77 kB / 439 MB, free: 268 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.2564, allocations: 151.3 kB / 439.2 MB, free: 116 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007019/0.2571, allocations: 0.5017 MB / 439.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2571, allocations: 0 / 439.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2571, allocations: 0 / 439.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.2572, allocations: 0 / 439.7 MB, free: 15.61 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001658/0.2588, allocations: 0.6534 MB / 440.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.2588, allocations: 8.031 kB / 440.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008084/0.2596, allocations: 120.6 kB / 440.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.26, allocations: 210.7 kB / 440.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.2601, allocations: 32.97 kB / 440.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.461e-05/0.2601, allocations: 28.38 kB / 440.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005441/0.2607, allocations: 337 kB / 441.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.2607, allocations: 0 / 441.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.958e-05/0.2607, allocations: 12 kB / 441.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.2607, allocations: 8 kB / 441.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004182/0.2611, allocations: 242.5 kB / 441.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.2632, allocations: 1.376 MB / 442.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000531/0.2638, allocations: 236.3 kB / 442.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.2639, allocations: 97.94 kB / 443 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/0.264, allocations: 27.91 kB / 443 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.2641, allocations: 34.56 kB / 443.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.423e-06/0.2641, allocations: 0 / 443.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001227/0.2653, allocations: 421.9 kB / 443.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.2653, allocations: 51.41 kB / 443.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.2655, allocations: 175.3 kB / 443.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.2656, allocations: 29.7 kB / 443.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.2657, allocations: 176.4 kB / 443.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.583e-05/0.2658, allocations: 87.22 kB / 444 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.238e-05/0.2658, allocations: 53.98 kB / 444.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.266, allocations: 330.8 kB / 444.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.2661, allocations: 64.55 kB / 444.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.2663, allocations: 144.9 kB / 444.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003357/0.2666, allocations: 212.1 kB / 444.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.2666, allocations: 4 kB / 444.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006503/0.2673, allocations: 332.7 kB / 445.1 MB, free: 9.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.2673, allocations: 8 kB / 445.1 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.2673, allocations: 0 / 445.1 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003186/0.2676, allocations: 84.67 kB / 445.2 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.2678, allocations: 39.98 kB / 445.2 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/0.2699, allocations: 1.938 MB / 447.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.27, allocations: 23.78 kB / 447.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.27, allocations: 16 kB / 447.2 MB, free: 7.637 MB / 350.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.0001504/0.2702, allocations: 137.8 kB / 447.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.084e-05/0.2702, allocations: 27.73 kB / 447.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005609/0.2708, allocations: 284.3 kB / 447.7 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2708, allocations: 0 / 447.7 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.2708, allocations: 4 kB / 447.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.2708, allocations: 0 / 447.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.2718, allocations: 0.6583 MB / 448.3 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2718, allocations: 0 / 448.3 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.2719, allocations: 27.92 kB / 448.3 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002316/0.2722, allocations: 77.02 kB / 448.4 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.2722, allocations: 8 kB / 448.4 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/0.2741, allocations: 1.918 MB / 450.4 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2741, allocations: 4.031 kB / 450.4 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006643/0.2748, allocations: 459.1 kB / 450.8 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.149e-05/0.2749, allocations: 35.97 kB / 450.8 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.2749, allocations: 12 kB / 450.8 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.275, allocations: 4 kB / 450.9 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.2751, allocations: 15.97 kB / 450.9 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.2751, allocations: 11.98 kB / 450.9 MB, free: 3.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001071/0.2752, allocations: 123.2 kB / 451 MB, free: 3.648 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2752, allocations: 4 kB / 451 MB, free: 3.645 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004743/0.2756, allocations: 91.78 kB / 451.1 MB, free: 3.555 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.0002123/0.2759, allocations: 131.2 kB / 451.2 MB, free: 3.418 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006275/0.2765, allocations: 338.8 kB / 451.6 MB, free: 3.074 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2765, allocations: 288 / 451.6 MB, free: 3.074 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000347/0.2768, allocations: 246.4 kB / 451.8 MB, free: 2.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.2771, allocations: 28.12 kB / 451.8 MB, free: 2.797 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.2782, allocations: 0.5967 MB / 452.4 MB, free: 2.164 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.2785, allocations: 0.756 MB / 453.2 MB, free: 1.383 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.692e-05/0.2786, allocations: 15.44 kB / 453.2 MB, free: 1.367 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2786, allocations: 0 / 453.2 MB, free: 1.367 MB / 350.1 MB Notification: Performance of Templates: time 0.006542/0.2851, allocations: 4.131 MB / 457.3 MB, free: 13.23 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 6.918216411024332]