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.001884/0.001884, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002318/0.002318, allocations: 214.2 kB / 24.48 MB, free: 3.84 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.462/1.462, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.001699/0.001699, allocations: 47.92 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2352, allocations: 53.37 MB / 432.3 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004173/0.2394, allocations: 2.66 MB / 435 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.2413, allocations: 1.137 MB / 436.1 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.2414, allocations: 8 kB / 436.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001504/0.2429, allocations: 0.5757 MB / 436.7 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003185/0.2432, allocations: 143 kB / 436.9 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.2445, allocations: 0.6061 MB / 437.5 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004055/0.2449, allocations: 306.6 kB / 437.8 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004155/0.2453, allocations: 226.9 kB / 438 MB, free: 1.094 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000212/0.2456, allocations: 143.4 kB / 438.1 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002184/0.2458, allocations: 147.4 kB / 438.3 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.012e-05/0.2458, allocations: 24 kB / 438.3 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000345/0.2462, allocations: 179.8 kB / 438.5 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.624e-05/0.2462, allocations: 63.7 kB / 438.5 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.2463, allocations: 119.5 kB / 438.7 MB, free: 440 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006243/0.247, allocations: 0.4973 MB / 439.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.247, allocations: 0 / 439.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.247, allocations: 4 kB / 439.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.247, allocations: 0 / 439.2 MB, free: 15.93 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.001582/0.2486, allocations: 0.6533 MB / 439.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.2486, allocations: 12.03 kB / 439.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007927/0.2494, allocations: 120.7 kB / 439.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.2497, allocations: 210.6 kB / 440.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.2498, allocations: 25.03 kB / 440.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.891e-05/0.2498, allocations: 32.36 kB / 440.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005497/0.2504, allocations: 337 kB / 440.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.2504, allocations: 0 / 440.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.154e-05/0.2504, allocations: 12 kB / 440.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.2504, allocations: 8 kB / 440.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004246/0.2508, allocations: 242.4 kB / 440.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.2527, allocations: 1.035 MB / 441.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005097/0.2532, allocations: 238.6 kB / 442.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.2533, allocations: 90.45 kB / 442.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.2534, allocations: 15.98 kB / 442.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.2535, allocations: 38.5 kB / 442.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.493e-06/0.2535, allocations: 0 / 442.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001202/0.2547, allocations: 422 kB / 442.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.2547, allocations: 51.41 kB / 442.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.2549, allocations: 162.2 kB / 442.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.2549, allocations: 29.7 kB / 442.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.255, allocations: 184.3 kB / 443 MB, free: 11.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.244e-05/0.2551, allocations: 83.31 kB / 443.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-05/0.2552, allocations: 57.94 kB / 443.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.2553, allocations: 322.8 kB / 443.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.2554, allocations: 72.53 kB / 443.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.2556, allocations: 133 kB / 443.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003145/0.2559, allocations: 224 kB / 443.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.2559, allocations: 4 kB / 443.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000586/0.2565, allocations: 328.3 kB / 444.2 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.2565, allocations: 8 kB / 444.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.2565, allocations: 0 / 444.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003015/0.2568, allocations: 80.75 kB / 444.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.257, allocations: 48.12 kB / 444.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002035/0.259, allocations: 1.884 MB / 446.2 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.2592, allocations: 23.88 kB / 446.3 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.2592, allocations: 12 kB / 446.3 MB, free: 8.438 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.0001495/0.2593, allocations: 153.8 kB / 446.4 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.326e-05/0.2594, allocations: 11.91 kB / 446.4 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005678/0.26, allocations: 295.2 kB / 446.7 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.26, allocations: 4 kB / 446.7 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.26, allocations: 4 kB / 446.7 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.26, allocations: 0 / 446.7 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009148/0.2609, allocations: 0.5797 MB / 447.3 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2609, allocations: 0 / 447.3 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.261, allocations: 24.27 kB / 447.3 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002318/0.2612, allocations: 76.69 kB / 447.4 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.2613, allocations: 12 kB / 447.4 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001964/0.2632, allocations: 1.888 MB / 449.3 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.2632, allocations: 0 / 449.3 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000671/0.2639, allocations: 444.6 kB / 449.7 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.812e-05/0.264, allocations: 39.75 kB / 449.8 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.264, allocations: 4 kB / 449.8 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.2641, allocations: 4 kB / 449.8 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.2641, allocations: 19.95 kB / 449.8 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.2642, allocations: 8 kB / 449.8 MB, free: 4.715 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.779e-05/0.2643, allocations: 117.5 kB / 449.9 MB, free: 4.602 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2643, allocations: 0 / 449.9 MB, free: 4.602 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000474/0.2647, allocations: 99.77 kB / 450 MB, free: 4.504 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.0002003/0.2649, allocations: 127.2 kB / 450.2 MB, free: 4.371 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006144/0.2655, allocations: 342 kB / 450.5 MB, free: 4.027 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2655, allocations: 0 / 450.5 MB, free: 4.027 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003419/0.2659, allocations: 246.4 kB / 450.7 MB, free: 3.773 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.2662, allocations: 31.91 kB / 450.8 MB, free: 3.742 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.2672, allocations: 0.5792 MB / 451.3 MB, free: 3.129 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.2674, allocations: 154.4 kB / 451.5 MB, free: 2.961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.128e-05/0.2674, allocations: 23.44 kB / 451.5 MB, free: 2.938 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2674, allocations: 0 / 451.5 MB, free: 2.938 MB / 350.1 MB Notification: Performance of Templates: time 0.006569/0.274, allocations: 4.191 MB / 455.7 MB, free: 14.74 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: 7.316017137374729]