Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.001766/0.001766, allocations: 81.58 kB / 21.99 MB, free: 4.75 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.002064/0.002064, allocations: 153.8 kB / 25.24 MB, free: 2.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.294/1.294, allocations: 158.6 MB / 187 MB, free: 6.352 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 55.92 kB / 299.4 MB, free: 6.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2021, allocations: 49.14 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.008249/0.2103, allocations: 6.603 MB / 355.1 MB, free: 8.902 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005646/0.216, allocations: 3.075 MB / 358.2 MB, free: 5.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005239/0.2165, allocations: 43.81 kB / 358.2 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002055/0.2185, allocations: 1.008 MB / 359.2 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00273/0.2213, allocations: 1.401 MB / 360.6 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009017/0.2222, allocations: 467.1 kB / 361.1 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003067/0.2252, allocations: 2.637 MB / 363.7 MB, free: 264 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001547/0.2268, allocations: 1.328 MB / 365.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.2278, allocations: 0.8642 MB / 365.9 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001678/0.2295, allocations: 1.289 MB / 367.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003123/0.2298, allocations: 172 kB / 367.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001597/0.2314, allocations: 0.9282 MB / 368.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00106/0.2325, allocations: 1.133 MB / 369.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001057/0.2335, allocations: 0.9509 MB / 370.4 MB, free: 9.543 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004741/0.2383, allocations: 4.391 MB / 374.8 MB, free: 5.141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2383, allocations: 4 kB / 374.8 MB, free: 5.137 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2383, allocations: 0 / 374.8 MB, free: 5.137 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.145e-05/0.2383, allocations: 0 / 374.8 MB, free: 5.137 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: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.005371/0.2437, allocations: 3.06 MB / 377.8 MB, free: 2.031 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.2437, allocations: 19.92 kB / 377.9 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007129/0.2509, allocations: 1.867 MB / 379.7 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002916/0.2538, allocations: 1.407 MB / 381.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.2539, allocations: 131.3 kB / 381.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000636/0.2545, allocations: 255.8 kB / 381.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/0.2651, allocations: 6.701 MB / 388.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.922e-05/0.2651, allocations: 31.73 kB / 388.3 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002603/0.2654, allocations: 87.89 kB / 388.3 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002262/0.2676, allocations: 1.363 MB / 389.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.011/0.2786, allocations: 6.048 MB / 395.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02943/0.3081, allocations: 24.13 MB / 419.9 MB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007004/0.3151, allocations: 2.188 MB / 422.1 MB, free: 4.508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/0.3165, allocations: 0.9964 MB / 423.1 MB, free: 3.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005029/0.3215, allocations: 2.739 MB / 425.8 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.3215, allocations: 43.06 kB / 425.8 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of pre-optimization done (n=112): time 3.096e-06/0.3215, allocations: 4 kB / 425.9 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of matching and sorting (n=125): time 0.02716/0.3487, allocations: 10.21 MB / 436.1 MB, free: 6.379 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001407/0.3501, allocations: 1.548 MB / 437.6 MB, free: 4.691 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003556/0.3536, allocations: 2.626 MB / 440.2 MB, free: 2.031 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001482/0.3538, allocations: 41.7 kB / 440.3 MB, free: 1.984 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001567/0.3554, allocations: 2.186 MB / 442.5 MB, free: 15.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000531/0.3559, allocations: 0.5273 MB / 443 MB, free: 15.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001195/0.3571, allocations: 0.9215 MB / 443.9 MB, free: 14.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3573, allocations: 365.7 kB / 444.3 MB, free: 13.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002585/0.3598, allocations: 1.656 MB / 445.9 MB, free: 12.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005037/0.3649, allocations: 4.464 MB / 450.4 MB, free: 6.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008375/0.3733, allocations: 6.557 MB / 456.9 MB, free: 14.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-05/0.3733, allocations: 28 kB / 457 MB, free: 14.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02033/0.3937, allocations: 7.996 MB / 465 MB, free: 6.418 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.767e-05/0.3937, allocations: 48 kB / 465 MB, free: 6.371 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01212/0.4059, allocations: 3.472 MB / 468.5 MB, free: 2.887 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01264/0.4185, allocations: 2.592 MB / 471.1 MB, free: 288 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1729/0.5914, allocations: 1.017 MB / 472.1 MB, free: 105 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01347/0.6049, allocations: 9.327 MB / 481.4 MB, free: 101.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003599/0.6085, allocations: 349.2 kB / 481.8 MB, free: 101.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004114/0.6089, allocations: 283.6 kB / 482 MB, free: 101 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 21 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (547): * Single equations (assignments): 539 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001676/0.6106, allocations: 1.43 MB / 483.5 MB, free: 100.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003142/0.6109, allocations: 221 kB / 483.7 MB, free: 100.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005952/0.6168, allocations: 2.803 MB / 486.5 MB, free: 99.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005376/0.6222, allocations: 2.496 MB / 489 MB, free: 99.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.6222, allocations: 3.969 kB / 489 MB, free: 99.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/0.6222, allocations: 6.469 kB / 489 MB, free: 99.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01121/0.6334, allocations: 6.209 MB / 495.2 MB, free: 94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/0.6334, allocations: 7.812 kB / 495.2 MB, free: 93.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007628/0.6342, allocations: 179.7 kB / 495.4 MB, free: 93.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004495/0.6387, allocations: 1.429 MB / 496.8 MB, free: 92.39 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.853e-05/0.6388, allocations: 35.97 kB / 496.9 MB, free: 92.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008228/0.647, allocations: 7.609 MB / 0.4926 GB, free: 84.63 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00068/0.6477, allocations: 1.42 MB / 0.494 GB, free: 83.12 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00762/0.6553, allocations: 4.831 MB / 0.4987 GB, free: 78.39 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004994/0.6558, allocations: 207.2 kB / 0.4989 GB, free: 78.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002637/0.6561, allocations: 28 kB / 0.499 GB, free: 78.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/0.6573, allocations: 119.8 kB / 0.4991 GB, free: 78.17 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002372/0.6575, allocations: 80.48 kB / 0.4992 GB, free: 78.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.615e-05/0.6576, allocations: 40.53 kB / 0.4992 GB, free: 78.05 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001796/0.6594, allocations: 1.495 MB / 0.5007 GB, free: 76.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6594, allocations: 0 / 0.5007 GB, free: 76.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003417/0.6628, allocations: 0.783 MB / 0.5014 GB, free: 75.77 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003425/0.6632, allocations: 163.1 kB / 0.5016 GB, free: 75.61 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006151/0.6693, allocations: 4.21 MB / 0.5057 GB, free: 71.44 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.6693, allocations: 0 / 0.5057 GB, free: 71.44 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002747/0.6721, allocations: 1.587 MB / 0.5072 GB, free: 69.83 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.6736, allocations: 233.4 kB / 0.5075 GB, free: 69.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007747/0.6813, allocations: 6.634 MB / 0.5139 GB, free: 62.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001583/0.6829, allocations: 1.732 MB / 0.5156 GB, free: 61.18 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002412/0.6853, allocations: 1.383 MB / 0.517 GB, free: 59.79 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003181/0.6856, allocations: 156.5 kB / 0.5171 GB, free: 59.64 MB / 430.1 MB Notification: Performance of SimCode: time 1.062e-06/0.6856, allocations: 0 / 0.5171 GB, free: 59.64 MB / 430.1 MB Notification: Performance of Templates: time 0.0404/0.726, allocations: 26.71 MB / 0.5432 GB, free: 32.87 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringWithMass/SpringWithMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.788943132036366]