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.001237/0.001237, allocations: 112.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.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.001251/0.001251, allocations: 187.8 kB / 23.72 MB, free: 4.68 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.485/1.485, allocations: 225.6 MB / 252.5 MB, free: 13 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.001547/0.001547, allocations: 51.92 kB / 370.9 MB, free: 9.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2408, allocations: 52.18 MB / 423.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004375/0.2452, allocations: 2.873 MB / 426 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001917/0.2471, allocations: 1.168 MB / 427.2 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.2472, allocations: 8 kB / 427.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001599/0.2488, allocations: 0.6293 MB / 427.8 MB, free: 9.996 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003274/0.2491, allocations: 135 kB / 427.9 MB, free: 9.863 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.2505, allocations: 0.6848 MB / 428.6 MB, free: 9.176 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004132/0.251, allocations: 298.6 kB / 428.9 MB, free: 8.883 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004058/0.2514, allocations: 209 kB / 429.1 MB, free: 8.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.2515, allocations: 135.5 kB / 429.2 MB, free: 8.547 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/0.2518, allocations: 167.3 kB / 429.4 MB, free: 8.383 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.158e-05/0.2518, allocations: 24 kB / 429.4 MB, free: 8.359 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003476/0.2522, allocations: 179.8 kB / 429.6 MB, free: 8.184 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.83e-05/0.2522, allocations: 67.77 kB / 429.7 MB, free: 8.117 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.2524, allocations: 143.3 kB / 429.8 MB, free: 7.977 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006365/0.253, allocations: 0.494 MB / 430.3 MB, free: 7.484 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.253, allocations: 0 / 430.3 MB, free: 7.484 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.253, allocations: 0 / 430.3 MB, free: 7.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.253, allocations: 0 / 430.3 MB, free: 7.484 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.001693/0.2547, allocations: 0.6651 MB / 431 MB, free: 6.785 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.2548, allocations: 8.031 kB / 431 MB, free: 6.777 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008059/0.2556, allocations: 120.6 kB / 431.1 MB, free: 6.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003889/0.2559, allocations: 194.8 kB / 431.3 MB, free: 6.445 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.256, allocations: 25.03 kB / 431.3 MB, free: 6.422 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.743e-05/0.256, allocations: 40.25 kB / 431.3 MB, free: 6.383 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005693/0.2566, allocations: 341 kB / 431.7 MB, free: 6.043 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.2566, allocations: 3.953 kB / 431.7 MB, free: 6.039 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.251e-05/0.2567, allocations: 12 kB / 431.7 MB, free: 6.027 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.2567, allocations: 8 kB / 431.7 MB, free: 6.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004212/0.2571, allocations: 238.5 kB / 431.9 MB, free: 5.785 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002131/0.2592, allocations: 1.368 MB / 433.3 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005426/0.2598, allocations: 244.5 kB / 433.5 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.2599, allocations: 92.77 kB / 433.6 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.197e-05/0.26, allocations: 11.92 kB / 433.6 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.2601, allocations: 42.56 kB / 433.7 MB, free: 3.887 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.482e-06/0.2601, allocations: 0 / 433.7 MB, free: 3.887 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001304/0.2614, allocations: 406.4 kB / 434.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.2614, allocations: 55.34 kB / 434.1 MB, free: 3.414 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.2616, allocations: 181.8 kB / 434.3 MB, free: 3.223 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.2616, allocations: 29.7 kB / 434.3 MB, free: 3.188 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.2618, allocations: 176.4 kB / 434.5 MB, free: 3.012 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.42e-05/0.2618, allocations: 91.25 kB / 434.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.938e-05/0.2619, allocations: 57.94 kB / 434.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.2621, allocations: 330.8 kB / 435 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.2622, allocations: 60.55 kB / 435 MB, free: 2.469 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.2624, allocations: 137 kB / 435.2 MB, free: 2.312 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003151/0.2627, allocations: 216.4 kB / 435.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.2627, allocations: 4 kB / 435.4 MB, free: 2.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005845/0.2633, allocations: 323.6 kB / 435.7 MB, free: 1.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.2633, allocations: 4 kB / 435.7 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.2633, allocations: 8.219 kB / 435.7 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003251/0.2636, allocations: 76.81 kB / 435.8 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.2638, allocations: 43.91 kB / 435.8 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002129/0.2659, allocations: 1.926 MB / 437.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.2661, allocations: 31.78 kB / 437.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.2661, allocations: 12 kB / 437.8 MB, free: 15.53 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.0001581/0.2662, allocations: 153.7 kB / 438 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-05/0.2663, allocations: 19.84 kB / 438 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005679/0.2669, allocations: 285.7 kB / 438.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2669, allocations: 4 kB / 438.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.2669, allocations: 0 / 438.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.2669, allocations: 3.984 kB / 438.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009799/0.2678, allocations: 0.6532 MB / 438.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.2679, allocations: 0 / 438.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.268, allocations: 23.98 kB / 438.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002402/0.2682, allocations: 80.75 kB / 439 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.2682, allocations: 0 / 439 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002037/0.2703, allocations: 1.939 MB / 441 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/0.2703, allocations: 4 kB / 441 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006699/0.2709, allocations: 440.6 kB / 441.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.29e-05/0.271, allocations: 35.86 kB / 441.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.271, allocations: 8 kB / 441.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.2711, allocations: 0 / 441.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.2712, allocations: 27.95 kB / 441.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.2712, allocations: 8 kB / 441.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.2713, allocations: 127.5 kB / 441.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2713, allocations: 4 kB / 441.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004759/0.2718, allocations: 95.78 kB / 441.7 MB, free: 11.44 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.0002117/0.272, allocations: 123.2 kB / 441.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006537/0.2727, allocations: 338.2 kB / 442.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2727, allocations: 0 / 442.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003592/0.273, allocations: 249.6 kB / 442.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.2734, allocations: 26.72 kB / 442.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.2745, allocations: 0.5677 MB / 443 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.2749, allocations: 0.7521 MB / 443.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.495e-05/0.275, allocations: 21.95 kB / 443.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.023e-05/0.275, allocations: 15.44 kB / 443.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.275, allocations: 0 / 443.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of Templates: time 0.007248/0.2823, allocations: 2.855 MB / 446.6 MB, free: 6.434 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.5794770093634725]