Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.001741/0.001741, allocations: 112.2 kB / 21.18 MB, free: 0.6289 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.002083/0.002083, allocations: 207 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.402/1.402, allocations: 230.4 MB / 258.1 MB, free: 8.148 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-beta.om/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.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 63.84 kB / 378.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2065, allocations: 53.32 MB / 432.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006866/0.2134, allocations: 5.296 MB / 437.4 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003038/0.2164, allocations: 1.767 MB / 439.1 MB, free: 304 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003534/0.2168, allocations: 16 kB / 439.1 MB, free: 288 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003207/0.22, allocations: 1.423 MB / 440.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008127/0.2208, allocations: 333.6 kB / 440.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001315/0.2221, allocations: 0.638 MB / 441.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008605/0.223, allocations: 0.8052 MB / 442.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009243/0.2239, allocations: 0.5855 MB / 442.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003856/0.2243, allocations: 350.7 kB / 443.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005538/0.2248, allocations: 466.1 kB / 443.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.2249, allocations: 76 kB / 443.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004734/0.2254, allocations: 267.8 kB / 444.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.2256, allocations: 179.3 kB / 444.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003723/0.2259, allocations: 421.9 kB / 444.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.2272, allocations: 1.212 MB / 445.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2272, allocations: 0 / 445.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2272, allocations: 0 / 445.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.2272, allocations: 0 / 445.8 MB, free: 9.539 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.004034/0.2313, allocations: 1.465 MB / 447.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.2313, allocations: 8.031 kB / 447.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001708/0.233, allocations: 244.2 kB / 447.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.2332, allocations: 267.2 kB / 447.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.452e-05/0.2333, allocations: 70.38 kB / 447.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.2335, allocations: 96.38 kB / 448 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.235, allocations: 0.9541 MB / 448.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.27e-05/0.235, allocations: 3.953 kB / 448.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.477e-05/0.2351, allocations: 40 kB / 449 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/0.2351, allocations: 27.98 kB / 449 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/0.2365, allocations: 0.7815 MB / 449.8 MB, free: 5.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005313/0.2418, allocations: 3.631 MB / 453.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/0.2438, allocations: 1.181 MB / 454.6 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005225/0.2444, allocations: 326 kB / 454.9 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001976/0.2446, allocations: 199.1 kB / 455.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.2446, allocations: 43.56 kB / 455.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.074e-06/0.2446, allocations: 0 / 455.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=87): time 0.002295/0.2469, allocations: 1.308 MB / 456.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.2469, allocations: 86.11 kB / 456.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004281/0.2474, allocations: 376.3 kB / 456.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.995e-05/0.2474, allocations: 41.7 kB / 457 MB, free: 13.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/0.2477, allocations: 392.2 kB / 457.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002367/0.2479, allocations: 305.4 kB / 457.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002531/0.2482, allocations: 174.9 kB / 457.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.2483, allocations: 366.8 kB / 458.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004727/0.2488, allocations: 262.5 kB / 458.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006405/0.2495, allocations: 475.4 kB / 458.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.2506, allocations: 0.7784 MB / 459.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.2506, allocations: 7.938 kB / 459.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00177/0.2524, allocations: 0.981 MB / 460.7 MB, free: 9.938 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.2524, allocations: 11.94 kB / 460.7 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.2524, allocations: 4 kB / 460.7 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003752/0.2528, allocations: 127.3 kB / 460.8 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008154/0.2536, allocations: 207.7 kB / 461 MB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005005/0.2586, allocations: 6.119 MB / 467.1 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005504/0.2592, allocations: 103.2 kB / 467.2 MB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.751e-05/0.2592, allocations: 43.98 kB / 467.3 MB, free: 2.758 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003061/0.2596, allocations: 242.1 kB / 467.5 MB, free: 2.512 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.2597, allocations: 55.62 kB / 467.6 MB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/0.2612, allocations: 0.8404 MB / 468.4 MB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.2612, allocations: 3.984 kB / 468.4 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2612, allocations: 0 / 468.4 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.2614, allocations: 148.5 kB / 468.5 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.418e-05/0.2614, allocations: 16 kB / 468.6 MB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/0.2618, allocations: 23.98 kB / 468.6 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.511e-05/0.2619, allocations: 56.92 kB / 468.6 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001791/0.2637, allocations: 0.9142 MB / 469.6 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001643/0.2653, allocations: 1.168 MB / 470.7 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003957/0.2657, allocations: 247.9 kB / 471 MB, free: 14.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002887/0.266, allocations: 255.2 kB / 471.2 MB, free: 14.71 MB / 382.1 MB Notification: Performance of Backend: time 1.91e-07/0.266, allocations: 0 / 471.2 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001922/0.2679, allocations: 1.089 MB / 472.3 MB, free: 13.58 MB / 382.1 MB Notification: Performance of SimCode: time 0.002/0.2699, allocations: 1.654 MB / 474 MB, free: 11.87 MB / 382.1 MB Notification: Performance of Templates: time 0.01912/0.289, allocations: 11.32 MB / 485.3 MB, free: 0.5898 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.768883321899921]