Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001344/0.001344, allocations: 84.88 kB / 22 MB, free: 4.754 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.001366/0.001366, allocations: 153.8 kB / 25.24 MB, free: 2.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.287/1.287, allocations: 158.6 MB / 187 MB, free: 6.324 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 56.2 kB / 299.4 MB, free: 6.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2024, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006382/0.2088, allocations: 4.653 MB / 353.2 MB, free: 10.85 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002695/0.2115, allocations: 1.636 MB / 354.8 MB, free: 9.203 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002086/0.2117, allocations: 16 kB / 354.8 MB, free: 9.188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003137/0.2148, allocations: 1.377 MB / 356.2 MB, free: 7.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000617/0.2154, allocations: 321.7 kB / 356.5 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.2167, allocations: 0.6152 MB / 357.1 MB, free: 6.871 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008766/0.2176, allocations: 0.8131 MB / 357.9 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009664/0.2186, allocations: 0.6633 MB / 358.6 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003732/0.2189, allocations: 358.7 kB / 359 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005422/0.2195, allocations: 406.1 kB / 359.4 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.2196, allocations: 76 kB / 359.4 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005254/0.2201, allocations: 251.8 kB / 359.7 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001665/0.2203, allocations: 179.3 kB / 359.8 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003398/0.2206, allocations: 342.3 kB / 360.2 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.2219, allocations: 1.193 MB / 361.4 MB, free: 2.602 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2219, allocations: 0 / 361.4 MB, free: 2.602 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2219, allocations: 0 / 361.4 MB, free: 2.602 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.2219, allocations: 3.938 kB / 361.4 MB, free: 2.598 MB / 318.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.003872/0.2258, allocations: 1.39 MB / 362.8 MB, free: 1.176 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.2258, allocations: 11.98 kB / 362.8 MB, free: 1.164 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001702/0.2275, allocations: 260.2 kB / 363 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.2277, allocations: 205.4 kB / 363.2 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.194e-05/0.2278, allocations: 70.38 kB / 363.3 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.2279, allocations: 100.3 kB / 363.4 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/0.2294, allocations: 0.9465 MB / 364.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.142e-05/0.2295, allocations: 3.938 kB / 364.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.032e-05/0.2296, allocations: 40 kB / 364.4 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/0.2296, allocations: 24 kB / 364.4 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.2309, allocations: 0.7769 MB / 365.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004685/0.2356, allocations: 2.685 MB / 367.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.2374, allocations: 0.885 MB / 368.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005234/0.2379, allocations: 325.1 kB / 369.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-05/0.238, allocations: 24.98 kB / 369.1 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.2381, allocations: 39.56 kB / 369.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 2.225e-06/0.2381, allocations: 0 / 369.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=87): time 0.002068/0.2401, allocations: 0.9954 MB / 370.1 MB, free: 9.621 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.2402, allocations: 86.11 kB / 370.2 MB, free: 9.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003697/0.2406, allocations: 335.9 kB / 370.6 MB, free: 9.184 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.439e-05/0.2406, allocations: 45.73 kB / 370.6 MB, free: 9.133 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/0.2409, allocations: 396.1 kB / 371 MB, free: 8.738 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000239/0.2411, allocations: 317.3 kB / 371.3 MB, free: 8.426 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002628/0.2414, allocations: 178.8 kB / 371.5 MB, free: 8.246 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.2415, allocations: 354.8 kB / 371.8 MB, free: 7.891 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004697/0.242, allocations: 266.5 kB / 372.1 MB, free: 7.629 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006393/0.2426, allocations: 475.4 kB / 372.5 MB, free: 7.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.2438, allocations: 0.7628 MB / 373.3 MB, free: 6.246 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.2438, allocations: 4 kB / 373.3 MB, free: 6.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001656/0.2454, allocations: 0.9647 MB / 374.3 MB, free: 5.262 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.2455, allocations: 8 kB / 374.3 MB, free: 5.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.2455, allocations: 8.719 kB / 374.3 MB, free: 5.246 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000373/0.2458, allocations: 123.4 kB / 374.4 MB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007818/0.2466, allocations: 211.6 kB / 374.6 MB, free: 4.906 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004427/0.2511, allocations: 5.605 MB / 380.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000527/0.2516, allocations: 99.25 kB / 380.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.59e-05/0.2517, allocations: 40 kB / 380.4 MB, free: 14.75 MB / 350.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.0002858/0.2519, allocations: 225.8 kB / 380.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.252, allocations: 55.66 kB / 380.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/0.2535, allocations: 0.8432 MB / 381.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.2536, allocations: 12 kB / 381.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.2536, allocations: 0 / 381.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.2536, allocations: 3.984 kB / 381.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002583/0.2562, allocations: 1.545 MB / 383 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.2562, allocations: 4 kB / 383 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005679/0.2567, allocations: 135.8 kB / 383.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002751/0.257, allocations: 107.6 kB / 383.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.708e-05/0.257, allocations: 23.94 kB / 383.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003876/0.2609, allocations: 5.201 MB / 388.5 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.2609, allocations: 4 kB / 388.5 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.2628, allocations: 1.265 MB / 389.8 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.2629, allocations: 71.47 kB / 389.8 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.323e-05/0.2629, allocations: 19.94 kB / 389.9 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003741/0.2633, allocations: 20 kB / 389.9 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.2634, allocations: 72.47 kB / 389.9 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-05/0.2634, allocations: 24 kB / 390 MB, free: 4.551 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002412/0.2637, allocations: 219.2 kB / 390.2 MB, free: 4.332 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2637, allocations: 4 kB / 390.2 MB, free: 4.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008789/0.2646, allocations: 267.4 kB / 390.5 MB, free: 4.066 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (78): * Single equations (assignments): 74 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002367/0.2648, allocations: 155 kB / 390.6 MB, free: 3.906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00161/0.2664, allocations: 1.126 MB / 391.7 MB, free: 2.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2664, allocations: 4 kB / 391.7 MB, free: 2.727 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008851/0.2673, allocations: 0.7576 MB / 392.5 MB, free: 1.918 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005442/0.2678, allocations: 60.64 kB / 392.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.2703, allocations: 1.414 MB / 394 MB, free: 392 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.2706, allocations: 322.2 kB / 394.3 MB, free: 44 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004192/0.271, allocations: 100.9 kB / 394.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.2712, allocations: 52.44 kB / 394.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of SimCode: time 6.82e-07/0.2712, allocations: 4 kB / 394.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of Templates: time 0.01434/0.2855, allocations: 6.707 MB / 401.1 MB, free: 9.164 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.546704832930118]