Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.001746/0.001746, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.00209/0.00209, allocations: 213.3 kB / 24.49 MB, free: 3.934 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.471/1.471, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_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_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 51.92 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2074, allocations: 53.37 MB / 432.4 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006546/0.214, allocations: 4.694 MB / 437 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002969/0.217, allocations: 1.654 MB / 438.7 MB, free: 324 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000221/0.2172, allocations: 19.94 kB / 438.7 MB, free: 304 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003192/0.2204, allocations: 1.314 MB / 440 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007125/0.2211, allocations: 317.6 kB / 440.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.2224, allocations: 0.6102 MB / 441 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008663/0.2233, allocations: 0.8091 MB / 441.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.2243, allocations: 0.6829 MB / 442.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004093/0.2247, allocations: 362.7 kB / 442.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005366/0.2252, allocations: 462.1 kB / 443.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.2254, allocations: 72 kB / 443.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004847/0.2258, allocations: 255.8 kB / 443.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.226, allocations: 179.3 kB / 443.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003327/0.2263, allocations: 346.4 kB / 444.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.2276, allocations: 1.217 MB / 445.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2276, allocations: 0 / 445.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2276, allocations: 4 kB / 445.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.2277, allocations: 0 / 445.3 MB, free: 9.688 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.004227/0.2319, allocations: 1.394 MB / 446.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.2319, allocations: 8.031 kB / 446.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001762/0.2337, allocations: 240.2 kB / 446.9 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.2339, allocations: 205.4 kB / 447.1 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.771e-05/0.234, allocations: 74.38 kB / 447.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/0.2341, allocations: 96.38 kB / 447.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.2358, allocations: 0.9425 MB / 448.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.796e-05/0.2358, allocations: 11.94 kB / 448.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.211e-05/0.2359, allocations: 43.98 kB / 448.3 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.165e-05/0.2359, allocations: 24 kB / 448.3 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001416/0.2374, allocations: 0.7769 MB / 449.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005052/0.2424, allocations: 2.714 MB / 451.8 MB, free: 2.988 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/0.2443, allocations: 0.8785 MB / 452.7 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005515/0.2449, allocations: 331.6 kB / 453 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.245, allocations: 36.97 kB / 453.1 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.245, allocations: 43.5 kB / 453.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.525e-06/0.245, allocations: 0 / 453.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002198/0.2472, allocations: 0.9994 MB / 454.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.2473, allocations: 86.11 kB / 454.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003886/0.2476, allocations: 339.8 kB / 454.5 MB, free: 232 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.127e-05/0.2477, allocations: 41.7 kB / 454.6 MB, free: 184 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/0.248, allocations: 404.2 kB / 455 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002448/0.2482, allocations: 313.3 kB / 455.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002782/0.2485, allocations: 174.9 kB / 455.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.2487, allocations: 358.8 kB / 455.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004844/0.2491, allocations: 274.5 kB / 456 MB, free: 14.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006636/0.2498, allocations: 479.4 kB / 456.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.251, allocations: 0.7706 MB / 457.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.251, allocations: 4 kB / 457.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001781/0.2528, allocations: 0.9884 MB / 458.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.2528, allocations: 4 kB / 458.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.2528, allocations: 12 kB / 458.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003985/0.2532, allocations: 123.5 kB / 458.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008505/0.2541, allocations: 207.7 kB / 458.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004552/0.2586, allocations: 5.597 MB / 464.2 MB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005529/0.2592, allocations: 99.25 kB / 464.3 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.472e-05/0.2592, allocations: 43.98 kB / 464.4 MB, free: 5.762 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.0003202/0.2596, allocations: 225.5 kB / 464.6 MB, free: 5.531 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.2597, allocations: 47.72 kB / 464.6 MB, free: 5.484 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00162/0.2613, allocations: 0.8434 MB / 465.5 MB, free: 4.621 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.2613, allocations: 7.984 kB / 465.5 MB, free: 4.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2613, allocations: 0 / 465.5 MB, free: 4.613 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.867e-05/0.2614, allocations: 63.47 kB / 465.5 MB, free: 4.551 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.277e-05/0.2615, allocations: 12 kB / 465.5 MB, free: 4.539 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003276/0.2618, allocations: 20 kB / 465.6 MB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.2619, allocations: 72.8 kB / 465.6 MB, free: 4.449 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001796/0.2637, allocations: 0.9025 MB / 466.5 MB, free: 3.527 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001642/0.2653, allocations: 1.157 MB / 467.7 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004104/0.2658, allocations: 247.9 kB / 467.9 MB, free: 2.113 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002467/0.266, allocations: 223 kB / 468.2 MB, free: 1.895 MB / 366.1 MB Notification: Performance of Backend: time 4.11e-07/0.266, allocations: 0 / 468.2 MB, free: 1.895 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001965/0.268, allocations: 1.076 MB / 469.2 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of SimCode: time 0.002092/0.2701, allocations: 1.659 MB / 470.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of Templates: time 0.0209/0.291, allocations: 12.4 MB / 483.3 MB, free: 2.773 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.6586052990023745]