Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.001376/0.001376, allocations: 75.77 kB / 22.45 MB, free: 2.098 MB / 18.57 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.00164/0.00164, allocations: 162.8 kB / 25.75 MB, free: 8.578 MB / 18.57 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 0.9614/0.9614, allocations: 158.6 MB / 187.5 MB, free: 2.895 MB / 170.7 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.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|body1.frame_a.r_0.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|body1.frame_a.r_0.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 251.1 MB, free: 7.785 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.796e-05, allocations: 6.25 kB / 251.1 MB, free: 7.777 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.00855/0.008578, allocations: 10.42 MB / 261.5 MB, free: 13.31 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006833/0.01541, allocations: 3.846 MB / 265.4 MB, free: 9.457 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001594/0.01701, allocations: 75.62 kB / 265.5 MB, free: 9.383 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003356/0.02036, allocations: 2.776 MB / 268.2 MB, free: 6.598 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003814/0.02418, allocations: 1.878 MB / 270.1 MB, free: 4.711 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.02537, allocations: 0.7406 MB / 270.9 MB, free: 3.969 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004055/0.02943, allocations: 4.047 MB / 274.9 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003251/0.03268, allocations: 3.077 MB / 278 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003312/0.03599, allocations: 2.261 MB / 280.2 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002756/0.03875, allocations: 2.135 MB / 282.4 MB, free: 8.363 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007993/0.03955, allocations: 320 kB / 282.7 MB, free: 8.051 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001997/0.04154, allocations: 1.115 MB / 283.8 MB, free: 6.934 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001586/0.04313, allocations: 1.975 MB / 285.8 MB, free: 4.953 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001893/0.04502, allocations: 1.246 MB / 287 MB, free: 3.703 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004784/0.04981, allocations: 4.398 MB / 291.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.04981, allocations: 3.938 kB / 291.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.04981, allocations: 0 / 291.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001857/0.05, allocations: 0 / 291.4 MB, free: 15.28 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.006598/0.0566, allocations: 5.009 MB / 296.4 MB, free: 10.21 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.05665, allocations: 11.98 kB / 296.4 MB, free: 10.2 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004358/0.061, allocations: 2.397 MB / 298.8 MB, free: 7.797 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002643/0.06365, allocations: 1.842 MB / 300.7 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/0.06381, allocations: 250.4 kB / 300.9 MB, free: 5.676 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006082/0.06442, allocations: 387.7 kB / 301.3 MB, free: 5.297 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009229/0.07365, allocations: 6.454 MB / 307.8 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.232e-05/0.07373, allocations: 47.52 kB / 307.8 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003016/0.07403, allocations: 167.8 kB / 308 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001717/0.07575, allocations: 1.853 MB / 309.8 MB, free: 11.78 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008042/0.08379, allocations: 3.55 MB / 313.4 MB, free: 8.219 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.18/0.2638, allocations: 43.85 MB / 357.2 MB, free: 67 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005542/0.2693, allocations: 2.635 MB / 359.9 MB, free: 66.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008181/0.2701, allocations: 0.5793 MB / 360.4 MB, free: 66.79 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005898/0.276, allocations: 4.363 MB / 364.8 MB, free: 65.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/0.2761, allocations: 55.36 kB / 364.9 MB, free: 65.78 MB / 330.7 MB Notification: Performance of pre-optimization done (n=152): time 5.189e-06/0.2761, allocations: 1.062 kB / 364.9 MB, free: 65.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=159): time 0.02074/0.2968, allocations: 9.634 MB / 374.5 MB, free: 60.59 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008511/0.2977, allocations: 2.034 MB / 376.5 MB, free: 58.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00352/0.3012, allocations: 3.44 MB / 380 MB, free: 55.56 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.967e-05/0.3013, allocations: 49.7 kB / 380 MB, free: 55.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001298/0.3026, allocations: 3.393 MB / 383.4 MB, free: 52.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004998/0.3031, allocations: 0.6965 MB / 384.1 MB, free: 51.51 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001208/0.3043, allocations: 1.348 MB / 385.5 MB, free: 50.15 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.481e-05/0.3043, allocations: 480.7 kB / 385.9 MB, free: 49.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/0.3056, allocations: 0.7031 MB / 386.6 MB, free: 48.97 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002965/0.3086, allocations: 6.526 MB / 393.2 MB, free: 39.81 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005466/0.3141, allocations: 7.997 MB / 401.2 MB, free: 29.35 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-05/0.3142, allocations: 40 kB / 401.2 MB, free: 29.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01403/0.3282, allocations: 7.098 MB / 408.3 MB, free: 22.19 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.761e-05/0.3283, allocations: 67.94 kB / 408.4 MB, free: 22.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006591/0.3349, allocations: 2.48 MB / 410.8 MB, free: 19.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005985/0.3409, allocations: 2.353 MB / 413.2 MB, free: 17.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002767/0.3436, allocations: 1.372 MB / 414.6 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004147/0.3478, allocations: 5.773 MB / 420.3 MB, free: 9.836 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00325/0.351, allocations: 467 kB / 420.8 MB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004032/0.3514, allocations: 388 kB / 421.2 MB, free: 9.004 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (742): * Single equations (assignments): 732 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,32)} Notification: Performance of prepare postOptimizeDAE: time 0.001141/0.3526, allocations: 0.669 MB / 421.8 MB, free: 8.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003933/0.353, allocations: 361.7 kB / 422.2 MB, free: 7.969 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002906/0.3559, allocations: 1.888 MB / 424.1 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00301/0.3589, allocations: 1.497 MB / 425.6 MB, free: 4.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/0.3589, allocations: 4 kB / 425.6 MB, free: 4.516 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-05/0.3589, allocations: 11.91 kB / 425.6 MB, free: 4.504 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009033/0.3679, allocations: 6.254 MB / 431.8 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.3679, allocations: 4 kB / 431.8 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005355/0.3685, allocations: 195.7 kB / 432 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00277/0.3713, allocations: 1.168 MB / 433.2 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.506e-05/0.3713, allocations: 39.98 kB / 433.2 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003737/0.3751, allocations: 5.252 MB / 438.5 MB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007754/0.3759, allocations: 1.906 MB / 440.4 MB, free: 5.176 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004344/0.3802, allocations: 2.948 MB / 443.4 MB, free: 2.184 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008619/0.3811, allocations: 297.7 kB / 443.6 MB, free: 1.891 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002449/0.3813, allocations: 31.94 kB / 443.7 MB, free: 1.859 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007808/0.3821, allocations: 155.2 kB / 443.8 MB, free: 1.711 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001949/0.3823, allocations: 104.7 kB / 443.9 MB, free: 1.609 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.078e-05/0.3824, allocations: 43.98 kB / 444 MB, free: 1.566 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001871/0.3842, allocations: 1.43 MB / 445.4 MB, free: 148 kB / 346.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3842, allocations: 0 / 445.4 MB, free: 148 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.003646/0.3879, allocations: 1.113 MB / 446.5 MB, free: 15.03 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004075/0.3883, allocations: 182.8 kB / 446.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005391/0.3937, allocations: 3.648 MB / 450.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.3937, allocations: 0 / 450.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002196/0.3959, allocations: 1.368 MB / 451.7 MB, free: 9.762 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.3975, allocations: 372.6 kB / 452.1 MB, free: 9.398 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.4079, allocations: 7.414 MB / 459.5 MB, free: 1.895 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009771/0.4088, allocations: 1.161 MB / 460.6 MB, free: 0.707 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002311/0.4112, allocations: 1.552 MB / 462.2 MB, free: 15.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003963/0.4116, allocations: 216.4 kB / 462.4 MB, free: 14.94 MB / 378.7 MB Notification: Performance of SimCode: time 2.354e-06/0.4116, allocations: 0 / 462.4 MB, free: 14.94 MB / 378.7 MB Notification: Performance of Templates: time 0.04534/0.4569, allocations: 33.18 MB / 495.6 MB, free: 13.74 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","",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.376786489970982]