Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.001524/0.001524, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.001817/0.001817, allocations: 215.3 kB / 23 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 230.2 MB / 256.2 MB, free: 8.539 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 63.89 kB / 376.5 MB, free: 3.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2388, allocations: 53.31 MB / 429.8 MB, free: 7.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004971/0.2438, allocations: 2.88 MB / 432.7 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.2459, allocations: 1.226 MB / 433.9 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.246, allocations: 11.94 kB / 433.9 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.2476, allocations: 0.6262 MB / 434.5 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003361/0.2479, allocations: 143 kB / 434.7 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.2492, allocations: 0.6492 MB / 435.3 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004351/0.2497, allocations: 298.6 kB / 435.6 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004295/0.2501, allocations: 216.4 kB / 435.8 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002063/0.2503, allocations: 131.5 kB / 436 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002303/0.2505, allocations: 175.3 kB / 436.1 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.924e-05/0.2506, allocations: 24 kB / 436.1 MB, free: 1.316 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003661/0.2509, allocations: 183.9 kB / 436.3 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.74e-05/0.251, allocations: 63.77 kB / 436.4 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.2512, allocations: 147.3 kB / 436.5 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000642/0.2518, allocations: 498.2 kB / 437 MB, free: 452 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2518, allocations: 7.938 kB / 437 MB, free: 444 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2518, allocations: 4 kB / 437 MB, free: 440 kB / 334.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.2518, allocations: 3.938 kB / 437 MB, free: 436 kB / 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.001714/0.2535, allocations: 0.7326 MB / 437.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.2536, allocations: 12.03 kB / 437.8 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008335/0.2544, allocations: 116.7 kB / 437.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004017/0.2548, allocations: 260.6 kB / 438.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.2548, allocations: 29.02 kB / 438.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.948e-05/0.2549, allocations: 28.38 kB / 438.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000565/0.2554, allocations: 341 kB / 438.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.2555, allocations: 0 / 438.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.169e-05/0.2555, allocations: 12 kB / 438.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.2555, allocations: 12 kB / 438.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004166/0.2559, allocations: 238.5 kB / 438.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00209/0.258, allocations: 1.444 MB / 440.2 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007353/0.2587, allocations: 0.6844 MB / 440.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.2589, allocations: 88.83 kB / 441 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001997/0.2591, allocations: 182.1 kB / 441.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.2591, allocations: 34.56 kB / 441.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.332e-06/0.2591, allocations: 0 / 441.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001318/0.2605, allocations: 498.6 kB / 441.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.2605, allocations: 59.39 kB / 441.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.2607, allocations: 171.3 kB / 441.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.2607, allocations: 33.64 kB / 442 MB, free: 11.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.2608, allocations: 176.4 kB / 442.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.625e-05/0.2609, allocations: 91.22 kB / 442.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.559e-05/0.261, allocations: 49.98 kB / 442.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.2611, allocations: 338.8 kB / 442.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.2613, allocations: 64.55 kB / 442.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.2614, allocations: 133 kB / 442.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/0.2618, allocations: 220.9 kB / 443 MB, free: 9.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2618, allocations: 0 / 443 MB, free: 9.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005893/0.2623, allocations: 339.5 kB / 443.3 MB, free: 9.586 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.2624, allocations: 4 kB / 443.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.2624, allocations: 4 kB / 443.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003176/0.2627, allocations: 77.02 kB / 443.4 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.2629, allocations: 43.92 kB / 443.5 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00226/0.2651, allocations: 2.022 MB / 445.5 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.2653, allocations: 31.72 kB / 445.5 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.2653, allocations: 8 kB / 445.5 MB, free: 7.254 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.0001679/0.2654, allocations: 149.8 kB / 445.7 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.911e-05/0.2655, allocations: 23.8 kB / 445.7 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006015/0.2661, allocations: 276.1 kB / 446 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.2661, allocations: 4 kB / 446 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.2661, allocations: 4 kB / 446 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2661, allocations: 0 / 446 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.2672, allocations: 0.6904 MB / 446.7 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2672, allocations: 0 / 446.7 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.2673, allocations: 24 kB / 446.7 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002444/0.2675, allocations: 80.73 kB / 446.8 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.2675, allocations: 7.938 kB / 446.8 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002141/0.2697, allocations: 2.026 MB / 448.8 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2697, allocations: 0 / 448.8 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007046/0.2704, allocations: 470.7 kB / 449.3 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.2705, allocations: 109 kB / 449.4 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.2705, allocations: 7.984 kB / 449.4 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.2706, allocations: 4 kB / 449.4 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.2707, allocations: 15.98 kB / 449.4 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.2707, allocations: 8 kB / 449.4 MB, free: 3.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.2708, allocations: 127.2 kB / 449.5 MB, free: 2.988 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2708, allocations: 4.062 kB / 449.5 MB, free: 2.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00051/0.2713, allocations: 95.78 kB / 449.6 MB, free: 2.891 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.0002262/0.2716, allocations: 127.2 kB / 449.8 MB, free: 2.758 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006408/0.2722, allocations: 346.3 kB / 450.1 MB, free: 2.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2722, allocations: 0 / 450.1 MB, free: 2.406 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000357/0.2726, allocations: 250.5 kB / 450.3 MB, free: 2.148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.2729, allocations: 12.44 kB / 450.4 MB, free: 2.137 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.2739, allocations: 0.5774 MB / 450.9 MB, free: 1.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.2743, allocations: 0.7599 MB / 451.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.908e-05/0.2744, allocations: 21.94 kB / 451.7 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.062e-05/0.2745, allocations: 19.44 kB / 451.7 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2745, allocations: 0 / 451.7 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of Templates: time 0.00696/0.2814, allocations: 2.85 MB / 454.6 MB, free: 13.87 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.30803316924721]