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.0008156/0.0008156, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003052/0.003052, allocations: 161 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8657/0.8657, allocations: 177 MB / 204.9 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.473e-06/1.473e-06, allocations: 0 / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.614e-05/1.761e-05, allocations: 2.281 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.003867/0.003885, allocations: 4.702 MB / 330.5 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.005527, allocations: 1.666 MB / 332.2 MB, free: 8.957 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.005689, allocations: 16 kB / 332.2 MB, free: 8.941 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.007056, allocations: 1.391 MB / 333.6 MB, free: 7.547 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003669/0.007423, allocations: 337.4 kB / 333.9 MB, free: 7.215 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006545/0.008077, allocations: 0.5995 MB / 334.5 MB, free: 6.613 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005418/0.008619, allocations: 0.8475 MB / 335.3 MB, free: 5.762 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006294/0.009248, allocations: 0.6596 MB / 336 MB, free: 5.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003409/0.009589, allocations: 0.5106 MB / 336.5 MB, free: 4.578 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002736/0.009863, allocations: 355 kB / 336.9 MB, free: 4.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.205e-05/0.009925, allocations: 79.94 kB / 336.9 MB, free: 4.152 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002638/0.01019, allocations: 247.7 kB / 337.2 MB, free: 3.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.181e-05/0.01027, allocations: 179.3 kB / 337.4 MB, free: 3.734 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.01043, allocations: 287.3 kB / 337.6 MB, free: 3.453 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007784/0.01121, allocations: 1.226 MB / 338.9 MB, free: 2.223 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.01121, allocations: 0 / 338.9 MB, free: 2.223 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.01121, allocations: 4 kB / 338.9 MB, free: 2.219 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.812e-06/0.01122, allocations: 0 / 338.9 MB, free: 2.219 MB / 298.7 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.001962/0.01318, allocations: 1.39 MB / 340.3 MB, free: 0.793 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.01321, allocations: 15.98 kB / 340.3 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007634/0.01397, allocations: 244.2 kB / 340.5 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.01411, allocations: 200.6 kB / 340.7 MB, free: 324 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.71e-05/0.01414, allocations: 74.38 kB / 340.8 MB, free: 252 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.194e-05/0.01423, allocations: 96.38 kB / 340.9 MB, free: 156 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000922/0.01516, allocations: 0.9466 MB / 341.8 MB, free: 15.19 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.01518, allocations: 12.12 kB / 341.8 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.132e-05/0.01523, allocations: 40.38 kB / 341.9 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.01525, allocations: 27.94 kB / 341.9 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008321/0.01608, allocations: 0.7845 MB / 342.7 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002773/0.01885, allocations: 2.704 MB / 345.4 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.01987, allocations: 0.874 MB / 346.3 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000326/0.0202, allocations: 325 kB / 346.6 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.184e-05/0.02026, allocations: 44.84 kB / 346.6 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.02028, allocations: 51.56 kB / 346.7 MB, free: 10.2 MB / 314.7 MB Notification: Performance of pre-optimization done (n=87): time 1.763e-06/0.02029, allocations: 0 / 346.7 MB, free: 10.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=87): time 0.001216/0.0215, allocations: 0.9993 MB / 347.7 MB, free: 9.184 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.02154, allocations: 90.05 kB / 347.8 MB, free: 9.074 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.02176, allocations: 339.8 kB / 348.1 MB, free: 8.734 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.02179, allocations: 37.7 kB / 348.1 MB, free: 8.691 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.02194, allocations: 400.1 kB / 348.5 MB, free: 8.293 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.02208, allocations: 309.3 kB / 348.8 MB, free: 7.988 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.02223, allocations: 174.9 kB / 349 MB, free: 7.809 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.588e-05/0.02233, allocations: 362.8 kB / 349.3 MB, free: 7.445 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/0.02262, allocations: 266.5 kB / 349.6 MB, free: 7.188 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003785/0.023, allocations: 475.4 kB / 350.1 MB, free: 6.645 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007129/0.02371, allocations: 0.7823 MB / 350.9 MB, free: 5.785 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.02371, allocations: 0 / 350.9 MB, free: 5.785 MB / 314.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0009873/0.0247, allocations: 0.9807 MB / 351.8 MB, free: 4.785 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.02471, allocations: 8 kB / 351.8 MB, free: 4.777 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.02472, allocations: 4 kB / 351.8 MB, free: 4.773 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002222/0.02494, allocations: 131.6 kB / 352 MB, free: 4.633 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003855/0.02533, allocations: 199.7 kB / 352.2 MB, free: 4.438 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002409/0.02774, allocations: 5.598 MB / 357.8 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.02797, allocations: 103.2 kB / 357.9 MB, free: 14.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/0.02801, allocations: 40 kB / 357.9 MB, free: 14.29 MB / 330.7 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.0001823/0.02819, allocations: 225.5 kB / 358.1 MB, free: 14.06 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.87e-05/0.02825, allocations: 47.84 kB / 358.2 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000895/0.02914, allocations: 0.8472 MB / 359 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.02915, allocations: 8 kB / 359 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.02915, allocations: 4 kB / 359 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.02916, allocations: 3.984 kB / 359 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.0307, allocations: 1.57 MB / 360.6 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.0307, allocations: 4 kB / 360.6 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002736/0.03098, allocations: 139.8 kB / 360.7 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001577/0.03113, allocations: 115.6 kB / 360.9 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/0.03117, allocations: 27.92 kB / 360.9 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/0.03322, allocations: 5.173 MB / 366.1 MB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.03322, allocations: 7.938 kB / 366.1 MB, free: 5.605 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.03434, allocations: 1.273 MB / 367.3 MB, free: 4.273 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.03438, allocations: 63.55 kB / 367.4 MB, free: 4.211 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/0.03442, allocations: 20 kB / 367.4 MB, free: 4.191 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.03459, allocations: 23.98 kB / 367.4 MB, free: 4.168 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.947e-05/0.03465, allocations: 72.61 kB / 367.5 MB, free: 4.098 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.03467, allocations: 27.98 kB / 367.5 MB, free: 4.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001396/0.03481, allocations: 215.1 kB / 367.8 MB, free: 3.863 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03481, allocations: 0 / 367.8 MB, free: 3.863 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004987/0.03531, allocations: 279.4 kB / 368 MB, free: 3.59 MB / 330.7 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.0002093/0.03552, allocations: 163.1 kB / 368.2 MB, free: 3.422 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009313/0.03645, allocations: 1.133 MB / 369.3 MB, free: 2.234 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.03646, allocations: 4 kB / 369.3 MB, free: 2.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004826/0.03694, allocations: 0.7659 MB / 370.1 MB, free: 1.418 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.03727, allocations: 60.36 kB / 370.1 MB, free: 1.359 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.03872, allocations: 1.368 MB / 371.5 MB, free: 15.93 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.03891, allocations: 314.3 kB / 371.8 MB, free: 15.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.03905, allocations: 72.47 kB / 371.9 MB, free: 15.52 MB / 346.7 MB Notification: Performance of SimCode: time 4.11e-07/0.03906, allocations: 0 / 371.9 MB, free: 15.52 MB / 346.7 MB Notification: Performance of Templates: time 0.0142/0.05326, allocations: 21.64 MB / 393.5 MB, free: 9.875 MB / 362.7 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: 5.467625985853374]