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.001308/0.001308, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001388/0.001388, allocations: 212 kB / 23.74 MB, free: 4.656 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.436/1.436, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.001632/0.001632, allocations: 43.92 kB / 378.3 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2303, allocations: 53.36 MB / 431.6 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004193/0.2345, allocations: 2.878 MB / 434.5 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.2364, allocations: 1.242 MB / 435.7 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.2365, allocations: 4 kB / 435.8 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001565/0.2381, allocations: 0.6223 MB / 436.4 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003044/0.2384, allocations: 143 kB / 436.5 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.2397, allocations: 0.6644 MB / 437.2 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004183/0.2401, allocations: 294.6 kB / 437.5 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004532/0.2406, allocations: 240.7 kB / 437.7 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002154/0.2408, allocations: 143.4 kB / 437.8 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002394/0.241, allocations: 163.4 kB / 438 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.22e-05/0.241, allocations: 32 kB / 438 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003596/0.2414, allocations: 179.9 kB / 438.2 MB, free: 336 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.235e-05/0.2415, allocations: 67.7 kB / 438.3 MB, free: 268 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.2416, allocations: 147.3 kB / 438.4 MB, free: 120 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007019/0.2423, allocations: 0.4979 MB / 438.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2423, allocations: 0 / 438.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2423, allocations: 0 / 438.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.2423, allocations: 0 / 438.9 MB, free: 15.62 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.001656/0.244, allocations: 0.6573 MB / 439.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.244, allocations: 8.031 kB / 439.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007977/0.2448, allocations: 120.6 kB / 439.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/0.2452, allocations: 206.7 kB / 439.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.2452, allocations: 29.03 kB / 439.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.149e-05/0.2453, allocations: 32.38 kB / 440 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005511/0.2459, allocations: 333 kB / 440.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.2459, allocations: 7.938 kB / 440.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/0.2459, allocations: 12 kB / 440.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.2459, allocations: 8 kB / 440.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004295/0.2463, allocations: 242.5 kB / 440.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00209/0.2484, allocations: 1.364 MB / 441.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005077/0.2489, allocations: 240.5 kB / 442.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.2491, allocations: 94.45 kB / 442.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001221/0.2492, allocations: 27.91 kB / 442.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.2492, allocations: 30.56 kB / 442.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.293e-06/0.2492, allocations: 0 / 442.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.00121/0.2505, allocations: 421.9 kB / 442.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.2505, allocations: 55.41 kB / 442.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.2507, allocations: 175.3 kB / 442.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.2507, allocations: 29.7 kB / 443 MB, free: 11.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.2509, allocations: 180.4 kB / 443.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.647e-05/0.251, allocations: 91.2 kB / 443.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.093e-05/0.2511, allocations: 49.98 kB / 443.3 MB, free: 11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.2512, allocations: 330.8 kB / 443.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.2513, allocations: 76.53 kB / 443.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.2515, allocations: 133 kB / 443.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/0.2518, allocations: 220 kB / 444 MB, free: 10.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2518, allocations: 0 / 444 MB, free: 10.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006041/0.2524, allocations: 340.7 kB / 444.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.2525, allocations: 4 kB / 444.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2525, allocations: 4 kB / 444.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003102/0.2528, allocations: 76.8 kB / 444.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.2529, allocations: 39.92 kB / 444.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/0.2552, allocations: 1.926 MB / 446.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.2554, allocations: 23.78 kB / 446.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.2554, allocations: 8.281 kB / 446.4 MB, free: 7.66 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.0001502/0.2555, allocations: 153.7 kB / 446.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.018e-05/0.2556, allocations: 23.8 kB / 446.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005756/0.2561, allocations: 292.1 kB / 446.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.2562, allocations: 4 kB / 446.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-06/0.2562, allocations: 0 / 446.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.2562, allocations: 4 kB / 446.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.2572, allocations: 0.6582 MB / 447.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.2572, allocations: 0 / 447.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.2573, allocations: 23.98 kB / 447.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002596/0.2576, allocations: 72.75 kB / 447.7 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.2576, allocations: 4 kB / 447.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002032/0.2597, allocations: 1.926 MB / 449.6 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2597, allocations: 0 / 449.6 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007038/0.2604, allocations: 459.1 kB / 450 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.038e-05/0.2604, allocations: 40.27 kB / 450.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.2605, allocations: 11.98 kB / 450.1 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.2606, allocations: 0 / 450.1 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.2606, allocations: 23.91 kB / 450.1 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.2606, allocations: 4 kB / 450.1 MB, free: 3.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001135/0.2608, allocations: 123.2 kB / 450.2 MB, free: 3.656 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2608, allocations: 0 / 450.2 MB, free: 3.656 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004841/0.2612, allocations: 103.8 kB / 450.3 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.0002065/0.2614, allocations: 125.7 kB / 450.5 MB, free: 3.426 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006548/0.2621, allocations: 342.7 kB / 450.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2621, allocations: 0 / 450.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003574/0.2625, allocations: 242.4 kB / 451 MB, free: 2.828 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.2628, allocations: 19.22 kB / 451 MB, free: 2.812 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.2638, allocations: 0.5709 MB / 451.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/0.2643, allocations: 0.7599 MB / 452.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.558e-05/0.2644, allocations: 21.94 kB / 452.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.294e-05/0.2644, allocations: 23.44 kB / 452.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2644, allocations: 0 / 452.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of Templates: time 0.007329/0.2718, allocations: 2.91 MB / 455.3 MB, free: 14.48 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/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_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: 4.420819717925042]