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.001775/0.001775, 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.002267/0.002267, allocations: 213.1 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.446/1.446, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.002468/0.002468, allocations: 51.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.238, allocations: 53.36 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006866/0.2449, allocations: 4.701 MB / 437 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00333/0.2482, allocations: 1.662 MB / 438.7 MB, free: 340 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003819/0.2486, allocations: 16 kB / 438.7 MB, free: 324 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00326/0.2518, allocations: 1.314 MB / 440 MB, free: 15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009442/0.2528, allocations: 321.6 kB / 440.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.2542, allocations: 0.6102 MB / 441 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001115/0.2554, allocations: 0.8013 MB / 441.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.2565, allocations: 0.6752 MB / 442.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004963/0.257, allocations: 362.7 kB / 442.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006045/0.2576, allocations: 470.1 kB / 443.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.2577, allocations: 76 kB / 443.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005805/0.2583, allocations: 247.8 kB / 443.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.2584, allocations: 187.2 kB / 443.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003616/0.2588, allocations: 342.4 kB / 444.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001487/0.2603, allocations: 1.217 MB / 445.3 MB, free: 9.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2603, allocations: 0 / 445.3 MB, free: 9.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2603, allocations: 0 / 445.3 MB, free: 9.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.2603, allocations: 0 / 445.3 MB, free: 9.715 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.004253/0.2646, allocations: 1.394 MB / 446.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.2646, allocations: 16.03 kB / 446.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/0.2663, allocations: 240.2 kB / 446.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.2666, allocations: 205.4 kB / 447.1 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.042e-05/0.2667, allocations: 70.38 kB / 447.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/0.2668, allocations: 96.38 kB / 447.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.2685, allocations: 0.9502 MB / 448.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.029e-05/0.2686, allocations: 11.94 kB / 448.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.296e-05/0.2687, allocations: 40 kB / 448.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.366e-05/0.2687, allocations: 24 kB / 448.3 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/0.2701, allocations: 0.7808 MB / 449.1 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005401/0.2755, allocations: 2.71 MB / 451.8 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001918/0.2774, allocations: 0.8785 MB / 452.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005693/0.278, allocations: 333.1 kB / 453 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.2781, allocations: 32.97 kB / 453.1 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.2781, allocations: 43.5 kB / 453.1 MB, free: 1.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.856e-06/0.2781, allocations: 4 kB / 453.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002203/0.2803, allocations: 0.9955 MB / 454.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.2804, allocations: 90.11 kB / 454.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000419/0.2808, allocations: 339.8 kB / 454.5 MB, free: 248 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.142e-05/0.2809, allocations: 41.7 kB / 454.6 MB, free: 200 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003063/0.2812, allocations: 404.3 kB / 455 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002605/0.2814, allocations: 309.3 kB / 455.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000279/0.2817, allocations: 178.9 kB / 455.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.2819, allocations: 350.8 kB / 455.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004868/0.2824, allocations: 270.5 kB / 456 MB, free: 14.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006726/0.2831, allocations: 483.4 kB / 456.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.2842, allocations: 0.7667 MB / 457.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.2842, allocations: 11.94 kB / 457.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001831/0.2861, allocations: 0.9769 MB / 458.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.2861, allocations: 8 kB / 458.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.2861, allocations: 8 kB / 458.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004491/0.2866, allocations: 127.3 kB / 458.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000836/0.2874, allocations: 211.8 kB / 458.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004862/0.2923, allocations: 5.597 MB / 464.2 MB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006483/0.2929, allocations: 103.2 kB / 464.3 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.24e-05/0.293, allocations: 39.98 kB / 464.3 MB, free: 5.785 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.0003718/0.2933, allocations: 232 kB / 464.6 MB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.2935, allocations: 47.72 kB / 464.6 MB, free: 5.504 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/0.2951, allocations: 0.8433 MB / 465.5 MB, free: 4.641 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.2951, allocations: 12 kB / 465.5 MB, free: 4.629 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.2951, allocations: 0 / 465.5 MB, free: 4.629 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.2951, allocations: 3.984 kB / 465.5 MB, free: 4.625 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002918/0.298, allocations: 1.569 MB / 467 MB, free: 2.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.841e-05/0.298, allocations: 7.938 kB / 467.1 MB, free: 2.973 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006311/0.2987, allocations: 135.8 kB / 467.2 MB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003226/0.299, allocations: 119.6 kB / 467.3 MB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/0.299, allocations: 20 kB / 467.3 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004242/0.3033, allocations: 5.201 MB / 472.5 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.3033, allocations: 7.938 kB / 472.5 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002052/0.3053, allocations: 1.277 MB / 473.8 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.3055, allocations: 59.55 kB / 473.9 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.869e-05/0.3056, allocations: 19.94 kB / 473.9 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004159/0.306, allocations: 20 kB / 473.9 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.3061, allocations: 72.47 kB / 474 MB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-05/0.3061, allocations: 24 kB / 474 MB, free: 11.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002618/0.3064, allocations: 223.2 kB / 474.2 MB, free: 11.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3064, allocations: 0 / 474.2 MB, free: 11.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009833/0.3074, allocations: 271.4 kB / 474.5 MB, free: 11.07 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.0003097/0.3077, allocations: 163 kB / 474.6 MB, free: 10.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00178/0.3095, allocations: 1.137 MB / 475.8 MB, free: 9.707 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.3095, allocations: 0 / 475.8 MB, free: 9.707 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009693/0.3105, allocations: 0.7577 MB / 476.5 MB, free: 8.902 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005873/0.311, allocations: 65.02 kB / 476.6 MB, free: 8.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/0.3138, allocations: 1.401 MB / 478 MB, free: 7.371 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.3142, allocations: 322.2 kB / 478.3 MB, free: 7.027 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/0.3144, allocations: 67.42 kB / 478.4 MB, free: 6.961 MB / 382.1 MB Notification: Performance of SimCode: time 1.563e-06/0.3144, allocations: 3.938 kB / 478.4 MB, free: 6.957 MB / 382.1 MB Notification: Performance of Templates: time 0.02654/0.341, allocations: 21.63 MB / 0.4883 GB, free: 1.32 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.802151481009787]