Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.001427/0.001427, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.001459/0.001459, allocations: 187.7 kB / 23.7 MB, free: 4.191 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.437/1.437, allocations: 225.7 MB / 252.5 MB, free: 12.83 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.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 43.92 kB / 370.9 MB, free: 9.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2455, allocations: 52.18 MB / 423.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.00678/0.2522, allocations: 4.689 MB / 427.8 MB, free: 9.734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003185/0.2554, allocations: 1.596 MB / 429.4 MB, free: 8.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002773/0.2557, allocations: 20 kB / 429.4 MB, free: 8.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003212/0.2589, allocations: 1.309 MB / 430.7 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007556/0.2597, allocations: 321.6 kB / 431 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.2613, allocations: 0.7727 MB / 431.8 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001027/0.2624, allocations: 0.8167 MB / 432.6 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.2635, allocations: 0.6595 MB / 433.3 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005388/0.264, allocations: 366.7 kB / 433.6 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005408/0.2646, allocations: 410.1 kB / 434 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.2647, allocations: 72 kB / 434.1 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005401/0.2652, allocations: 255.8 kB / 434.3 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.2654, allocations: 175.3 kB / 434.5 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003489/0.2657, allocations: 342.3 kB / 434.8 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001406/0.2671, allocations: 1.205 MB / 436 MB, free: 1.422 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2671, allocations: 0 / 436 MB, free: 1.422 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2671, allocations: 0 / 436 MB, free: 1.422 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.2671, allocations: 8 kB / 436 MB, free: 1.414 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003917/0.2711, allocations: 1.382 MB / 437.4 MB, free: 0 / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.2711, allocations: 12.08 kB / 437.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001633/0.2727, allocations: 260.1 kB / 437.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.273, allocations: 205.4 kB / 437.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.158e-05/0.273, allocations: 74.38 kB / 438 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.2732, allocations: 100.3 kB / 438.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.2748, allocations: 0.9386 MB / 439 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.355e-05/0.2748, allocations: 4 kB / 439 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.724e-05/0.2749, allocations: 40 kB / 439 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.2749, allocations: 24 kB / 439.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.2763, allocations: 0.773 MB / 439.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004949/0.2812, allocations: 2.675 MB / 442.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00185/0.2831, allocations: 0.8698 MB / 443.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005369/0.2836, allocations: 325.1 kB / 443.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.99e-05/0.2837, allocations: 24.92 kB / 443.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.2837, allocations: 43.56 kB / 443.8 MB, free: 9.484 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.725e-06/0.2837, allocations: 3.938 kB / 443.8 MB, free: 9.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002142/0.2859, allocations: 1 MB / 444.8 MB, free: 8.465 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.729e-05/0.2859, allocations: 86.11 kB / 444.9 MB, free: 8.359 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004014/0.2863, allocations: 343.8 kB / 445.2 MB, free: 8.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.899e-05/0.2864, allocations: 37.7 kB / 445.2 MB, free: 7.977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000283/0.2867, allocations: 392.2 kB / 445.6 MB, free: 7.586 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002652/0.2869, allocations: 321.3 kB / 445.9 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002572/0.2872, allocations: 174.9 kB / 446.1 MB, free: 7.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.2874, allocations: 358.8 kB / 446.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004839/0.2879, allocations: 262.5 kB / 446.7 MB, free: 6.477 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000682/0.2886, allocations: 479.4 kB / 447.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.2898, allocations: 0.7706 MB / 447.9 MB, free: 5.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.2898, allocations: 0 / 447.9 MB, free: 5.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001719/0.2915, allocations: 0.9732 MB / 448.9 MB, free: 4.094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.2915, allocations: 8 kB / 448.9 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.2915, allocations: 4 kB / 448.9 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003862/0.2919, allocations: 123.3 kB / 449.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007954/0.2927, allocations: 211.7 kB / 449.3 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004649/0.2973, allocations: 5.602 MB / 454.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005835/0.2979, allocations: 99.55 kB / 455 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.535e-05/0.298, allocations: 40 kB / 455 MB, free: 13.59 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.000327/0.2983, allocations: 229.5 kB / 455.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.2984, allocations: 55.66 kB / 455.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/0.2999, allocations: 0.8354 MB / 456.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.2999, allocations: 8 kB / 456.1 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.2999, allocations: 7.938 kB / 456.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-06/0.2999, allocations: 3.984 kB / 456.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002763/0.3027, allocations: 1.545 MB / 457.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.3027, allocations: 4 kB / 457.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000588/0.3033, allocations: 135.8 kB / 457.8 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000305/0.3036, allocations: 115.6 kB / 457.9 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.609e-05/0.3037, allocations: 16 kB / 457.9 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004194/0.3078, allocations: 5.203 MB / 463.1 MB, free: 4.914 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.3079, allocations: 4 kB / 463.2 MB, free: 4.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/0.3099, allocations: 1.265 MB / 464.4 MB, free: 3.594 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.31, allocations: 67.5 kB / 464.5 MB, free: 3.527 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.895e-05/0.3101, allocations: 20.06 kB / 464.5 MB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004029/0.3105, allocations: 31.94 kB / 464.5 MB, free: 3.477 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.3106, allocations: 68.47 kB / 464.6 MB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.485e-05/0.3106, allocations: 28 kB / 464.6 MB, free: 3.383 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003037/0.3109, allocations: 215.1 kB / 464.8 MB, free: 3.176 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3109, allocations: 0 / 464.8 MB, free: 3.176 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009868/0.3119, allocations: 267.4 kB / 465.1 MB, free: 2.914 MB / 366.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.0002812/0.3122, allocations: 155 kB / 465.2 MB, free: 2.754 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001849/0.3141, allocations: 1.123 MB / 466.4 MB, free: 1.574 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3141, allocations: 0 / 466.4 MB, free: 1.574 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.3151, allocations: 0.7684 MB / 467.1 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005614/0.3156, allocations: 60.02 kB / 467.2 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002827/0.3185, allocations: 1.415 MB / 468.6 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004931/0.319, allocations: 322.3 kB / 468.9 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004414/0.3194, allocations: 100.9 kB / 469 MB, free: 14.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.3196, allocations: 47.44 kB / 469.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3196, allocations: 0 / 469.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of Templates: time 0.01572/0.3353, allocations: 7.616 MB / 476.7 MB, free: 7.207 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.875962363556027]