Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00137/0.00137, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001421/0.001421, allocations: 211.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 230.3 MB / 258 MB, free: 8.242 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 63.89 kB / 378.8 MB, free: 2.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2368, allocations: 53.36 MB / 432.1 MB, free: 7.105 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.007045/0.2439, allocations: 5.305 MB / 437.4 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003513/0.2474, allocations: 1.763 MB / 439.2 MB, free: 8 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004053/0.2478, allocations: 20.05 kB / 439.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003359/0.2512, allocations: 1.419 MB / 440.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009403/0.2521, allocations: 333.6 kB / 441 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.2535, allocations: 0.6425 MB / 441.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009919/0.2545, allocations: 0.8049 MB / 442.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009716/0.2555, allocations: 0.5859 MB / 443 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004531/0.2559, allocations: 362.6 kB / 443.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005446/0.2565, allocations: 474.1 kB / 443.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.2566, allocations: 76 kB / 443.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006076/0.2572, allocations: 263.8 kB / 444.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.2573, allocations: 179.3 kB / 444.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004103/0.2578, allocations: 421.9 kB / 444.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001455/0.2592, allocations: 1.208 MB / 445.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2592, allocations: 0 / 445.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2592, allocations: 0 / 445.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.2592, allocations: 0 / 445.9 MB, free: 9.242 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.004269/0.2635, allocations: 1.39 MB / 447.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.2635, allocations: 12.03 kB / 447.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001689/0.2652, allocations: 240.2 kB / 447.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.2655, allocations: 210 kB / 447.8 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.901e-05/0.2656, allocations: 74.38 kB / 447.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/0.2657, allocations: 96.38 kB / 447.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.2675, allocations: 0.9541 MB / 448.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.249e-05/0.2675, allocations: 3.953 kB / 448.9 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.353e-05/0.2676, allocations: 43.98 kB / 448.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.657e-05/0.2676, allocations: 24 kB / 449 MB, free: 6.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/0.269, allocations: 0.7848 MB / 449.8 MB, free: 5.352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005399/0.2744, allocations: 3.076 MB / 452.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001905/0.2764, allocations: 0.885 MB / 453.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005511/0.2769, allocations: 331.8 kB / 454 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.277, allocations: 44.89 kB / 454.1 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.2771, allocations: 43.56 kB / 454.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.846e-06/0.2771, allocations: 0 / 454.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.00227/0.2793, allocations: 0.9994 MB / 455.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/0.2794, allocations: 94.09 kB / 455.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004645/0.2799, allocations: 368.4 kB / 455.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.778e-05/0.2799, allocations: 41.7 kB / 455.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.2802, allocations: 392.1 kB / 456 MB, free: 14.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000267/0.2804, allocations: 321.3 kB / 456.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002727/0.2807, allocations: 170.9 kB / 456.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.2809, allocations: 358.8 kB / 456.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004913/0.2814, allocations: 270.5 kB / 457.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006729/0.2821, allocations: 483.4 kB / 457.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.2833, allocations: 0.7822 MB / 458.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.2833, allocations: 0 / 458.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001872/0.2852, allocations: 0.9808 MB / 459.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.2852, allocations: 8 kB / 459.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.2852, allocations: 7.938 kB / 459.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000418/0.2856, allocations: 123.5 kB / 459.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008559/0.2865, allocations: 207.7 kB / 459.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004769/0.2912, allocations: 5.705 MB / 465.4 MB, free: 4.867 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007008/0.2919, allocations: 103.2 kB / 465.5 MB, free: 4.766 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.992e-05/0.292, allocations: 40 kB / 465.5 MB, free: 4.727 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.0003732/0.2924, allocations: 241.4 kB / 465.7 MB, free: 4.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.2925, allocations: 55.73 kB / 465.8 MB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001619/0.2941, allocations: 0.8403 MB / 466.6 MB, free: 3.562 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.2941, allocations: 12 kB / 466.7 MB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.2941, allocations: 0 / 466.7 MB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.2942, allocations: 11.92 kB / 466.7 MB, free: 3.539 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003077/0.2972, allocations: 1.771 MB / 468.4 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.2972, allocations: 0 / 468.4 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006313/0.2979, allocations: 139.8 kB / 468.6 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003331/0.2982, allocations: 111.6 kB / 468.7 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.108e-05/0.2982, allocations: 24 kB / 468.7 MB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004247/0.3025, allocations: 5.296 MB / 474 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/0.3025, allocations: 16 kB / 474 MB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/0.3045, allocations: 1.277 MB / 475.3 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.3047, allocations: 71.41 kB / 475.4 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.106e-05/0.3048, allocations: 23.89 kB / 475.4 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004024/0.3052, allocations: 24.06 kB / 475.4 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.3053, allocations: 68.47 kB / 475.5 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.033e-05/0.3054, allocations: 28 kB / 475.5 MB, free: 10.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003128/0.3057, allocations: 251.2 kB / 475.7 MB, free: 9.844 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3057, allocations: 0 / 475.7 MB, free: 9.844 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001021/0.3067, allocations: 259.6 kB / 476 MB, free: 9.59 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.0002991/0.307, allocations: 167 kB / 476.2 MB, free: 9.414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001792/0.3088, allocations: 1.138 MB / 477.3 MB, free: 8.227 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3088, allocations: 0 / 477.3 MB, free: 8.227 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000944/0.3097, allocations: 0.7574 MB / 478.1 MB, free: 7.422 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005944/0.3103, allocations: 78.55 kB / 478.1 MB, free: 7.348 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/0.313, allocations: 1.387 MB / 479.5 MB, free: 5.902 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005838/0.3136, allocations: 0.911 MB / 480.4 MB, free: 4.961 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004337/0.314, allocations: 105.1 kB / 480.5 MB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.3142, allocations: 55.42 kB / 480.6 MB, free: 4.805 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3142, allocations: 0 / 480.6 MB, free: 4.805 MB / 382.1 MB Notification: Performance of Templates: time 0.01669/0.3308, allocations: 7.98 MB / 488.6 MB, free: 12.84 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.87222686316818]