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.001652/0.001652, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001807/0.001807, allocations: 207.6 kB / 24.48 MB, free: 3.957 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.459/1.459, allocations: 230.6 MB / 258.2 MB, free: 8.008 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.001669/0.001669, allocations: 47.91 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2445, allocations: 53.37 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006662/0.2512, allocations: 4.698 MB / 437 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003124/0.2543, allocations: 1.65 MB / 438.7 MB, free: 344 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003142/0.2546, allocations: 16 kB / 438.7 MB, free: 328 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003226/0.2579, allocations: 1.318 MB / 440 MB, free: 15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000864/0.2587, allocations: 325.6 kB / 440.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.2602, allocations: 0.6114 MB / 441 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001051/0.2612, allocations: 0.8052 MB / 441.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.2624, allocations: 0.6556 MB / 442.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005032/0.2629, allocations: 362.7 kB / 442.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005245/0.2634, allocations: 410.1 kB / 443.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.2635, allocations: 76 kB / 443.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005475/0.2641, allocations: 243.8 kB / 443.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001581/0.2642, allocations: 187.2 kB / 443.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000339/0.2646, allocations: 346.4 kB / 444 MB, free: 11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.266, allocations: 1.205 MB / 445.2 MB, free: 9.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.266, allocations: 4 kB / 445.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.266, allocations: 0 / 445.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.266, allocations: 0 / 445.2 MB, free: 9.789 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.004132/0.2701, allocations: 1.398 MB / 446.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.2702, allocations: 8.031 kB / 446.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001684/0.2719, allocations: 244.2 kB / 446.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.2721, allocations: 213.4 kB / 447.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-05/0.2722, allocations: 74.38 kB / 447.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/0.2723, allocations: 96.38 kB / 447.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.274, allocations: 0.9425 MB / 448.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.656e-05/0.274, allocations: 7.953 kB / 448.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.842e-05/0.2741, allocations: 40 kB / 448.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/0.2741, allocations: 24 kB / 448.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.2756, allocations: 0.7808 MB / 449 MB, free: 5.902 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005219/0.2808, allocations: 2.714 MB / 451.7 MB, free: 3.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/0.2827, allocations: 0.8746 MB / 452.6 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005497/0.2832, allocations: 329.1 kB / 452.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.2833, allocations: 36.95 kB / 453 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/0.2834, allocations: 47.5 kB / 453 MB, free: 1.773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 3.416e-06/0.2834, allocations: 0 / 453 MB, free: 1.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.00218/0.2856, allocations: 0.9994 MB / 454 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.2856, allocations: 86.11 kB / 454.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004124/0.286, allocations: 343.8 kB / 454.4 MB, free: 320 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.971e-05/0.2861, allocations: 41.7 kB / 454.5 MB, free: 272 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002849/0.2864, allocations: 396.3 kB / 454.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/0.2866, allocations: 317.3 kB / 455.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002658/0.2869, allocations: 174.9 kB / 455.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.2871, allocations: 358.8 kB / 455.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004888/0.2876, allocations: 266.5 kB / 456 MB, free: 14.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006794/0.2882, allocations: 471.4 kB / 456.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.2895, allocations: 0.7823 MB / 457.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.2895, allocations: 0 / 457.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001807/0.2913, allocations: 0.9847 MB / 458.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.2913, allocations: 4 kB / 458.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.2913, allocations: 8 kB / 458.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004032/0.2917, allocations: 127.3 kB / 458.3 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008073/0.2925, allocations: 203.7 kB / 458.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004694/0.2972, allocations: 5.593 MB / 464.1 MB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006461/0.2979, allocations: 111.5 kB / 464.2 MB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.359e-05/0.2979, allocations: 40 kB / 464.3 MB, free: 5.863 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.0003431/0.2983, allocations: 225.5 kB / 464.5 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.2984, allocations: 47.72 kB / 464.5 MB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/0.3, allocations: 0.851 MB / 465.4 MB, free: 4.715 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.3, allocations: 8 kB / 465.4 MB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.3, allocations: 0 / 465.4 MB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.3, allocations: 11.92 kB / 465.4 MB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002844/0.3029, allocations: 1.561 MB / 467 MB, free: 3.059 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.3029, allocations: 11.94 kB / 467 MB, free: 3.047 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005879/0.3035, allocations: 139.8 kB / 467.1 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002915/0.3038, allocations: 111.3 kB / 467.2 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.714e-05/0.3038, allocations: 24.17 kB / 467.2 MB, free: 2.766 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004159/0.308, allocations: 5.196 MB / 472.4 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.308, allocations: 4.25 kB / 472.4 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/0.31, allocations: 1.281 MB / 473.7 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.3102, allocations: 59.56 kB / 473.8 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.765e-05/0.3102, allocations: 23.94 kB / 473.8 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003947/0.3106, allocations: 23.98 kB / 473.8 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.3108, allocations: 60.55 kB / 473.9 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-05/0.3108, allocations: 27.98 kB / 473.9 MB, free: 11.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002578/0.3111, allocations: 215.1 kB / 474.1 MB, free: 11.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3111, allocations: 3.938 kB / 474.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009922/0.312, allocations: 283.5 kB / 474.4 MB, free: 11.14 MB / 382.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.0002823/0.3123, allocations: 159 kB / 474.6 MB, free: 10.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001806/0.3141, allocations: 1.134 MB / 475.7 MB, free: 9.785 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3141, allocations: 0 / 475.7 MB, free: 9.785 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000949/0.3151, allocations: 0.7575 MB / 476.5 MB, free: 8.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005794/0.3157, allocations: 56.64 kB / 476.5 MB, free: 8.926 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002766/0.3184, allocations: 1.422 MB / 477.9 MB, free: 7.438 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.3188, allocations: 314.3 kB / 478.2 MB, free: 7.102 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/0.3191, allocations: 71.41 kB / 478.3 MB, free: 7.031 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3191, allocations: 3.938 kB / 478.3 MB, free: 7.027 MB / 382.1 MB Notification: Performance of Templates: time 0.02602/0.3451, allocations: 21.63 MB / 499.9 MB, free: 1.398 MB / 398.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: 8.85101047810167]