Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.0008972/0.0008972, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0008556/0.0008556, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.8818/0.8818, allocations: 177 MB / 204.1 MB, free: 5.746 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 324.5 MB, free: 15.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/1.968e-05, allocations: 2.844 kB / 324.5 MB, free: 15.74 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.007913/0.007933, allocations: 10.47 MB / 335 MB, free: 5.223 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006056/0.01399, allocations: 4.023 MB / 339 MB, free: 1.184 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009196/0.01491, allocations: 87.5 kB / 339.1 MB, free: 1.098 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00268/0.01759, allocations: 2.826 MB / 341.9 MB, free: 14.26 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002925/0.02051, allocations: 2.049 MB / 344 MB, free: 12.2 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.02154, allocations: 0.881 MB / 344.9 MB, free: 11.32 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003438/0.02498, allocations: 5.391 MB / 350.3 MB, free: 5.914 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002431/0.02741, allocations: 3.436 MB / 353.7 MB, free: 2.43 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002056/0.02947, allocations: 2.6 MB / 356.3 MB, free: 15.82 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002027/0.03149, allocations: 2.603 MB / 358.9 MB, free: 13.21 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004445/0.03194, allocations: 364 kB / 359.3 MB, free: 12.86 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/0.03325, allocations: 1.229 MB / 360.5 MB, free: 11.63 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001198/0.03445, allocations: 2.248 MB / 362.7 MB, free: 9.375 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001201/0.03565, allocations: 1.414 MB / 364.1 MB, free: 7.957 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005042/0.04069, allocations: 7.565 MB / 371.7 MB, free: 376 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.04069, allocations: 0 / 371.7 MB, free: 376 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.0407, allocations: 0 / 371.7 MB, free: 376 kB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000103/0.0408, allocations: 0 / 371.7 MB, free: 376 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.006127/0.04693, allocations: 5.397 MB / 377.1 MB, free: 10.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.04696, allocations: 15.98 kB / 377.1 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006455/0.04761, allocations: 0.7982 MB / 377.9 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004638/0.05225, allocations: 2.381 MB / 380.3 MB, free: 7.695 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002993/0.05524, allocations: 2.554 MB / 382.9 MB, free: 5.094 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.05537, allocations: 270.8 kB / 383.1 MB, free: 4.828 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005967/0.05597, allocations: 431.6 kB / 383.5 MB, free: 4.406 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01288/0.06885, allocations: 12.36 MB / 395.9 MB, free: 7.215 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.537e-05/0.06894, allocations: 51.56 kB / 395.9 MB, free: 7.164 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003338/0.06927, allocations: 175.8 kB / 396.1 MB, free: 6.992 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00183/0.0711, allocations: 2.162 MB / 398.3 MB, free: 4.824 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01313/0.08423, allocations: 10.25 MB / 408.5 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1825/0.2668, allocations: 42.73 MB / 451.3 MB, free: 103.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006965/0.2737, allocations: 3.984 MB / 455.2 MB, free: 103.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001568/0.2753, allocations: 1.631 MB / 456.9 MB, free: 103.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007728/0.283, allocations: 6.683 MB / 463.6 MB, free: 101.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.2831, allocations: 58.19 kB / 463.6 MB, free: 101.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=183): time 5.17e-06/0.2831, allocations: 0 / 463.6 MB, free: 101.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=205): time 0.02347/0.3065, allocations: 16.62 MB / 480.2 MB, free: 90.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007025/0.3073, allocations: 1.583 MB / 481.8 MB, free: 88.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003952/0.3112, allocations: 4.768 MB / 486.6 MB, free: 84.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002444/0.3114, allocations: 49.7 kB / 486.6 MB, free: 84.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009559/0.3124, allocations: 3.505 MB / 490.1 MB, free: 80.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005485/0.313, allocations: 0.8317 MB / 491 MB, free: 79.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009205/0.3139, allocations: 1.342 MB / 492.3 MB, free: 78.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.251e-05/0.3139, allocations: 309.1 kB / 492.6 MB, free: 78.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002188/0.3161, allocations: 2.328 MB / 494.9 MB, free: 75.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003244/0.3193, allocations: 6.46 MB / 0.4897 GB, free: 67.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006281/0.3256, allocations: 9.426 MB / 0.4989 GB, free: 56.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.123e-05/0.3257, allocations: 40 kB / 0.4989 GB, free: 56.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.01262/0.3383, allocations: 10.27 MB / 0.5089 GB, free: 45.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.888e-05/0.3384, allocations: 74.28 kB / 0.509 GB, free: 45.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005474/0.3439, allocations: 3.952 MB / 0.5129 GB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004704/0.3486, allocations: 2.258 MB / 0.5151 GB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003047/0.3516, allocations: 1.599 MB / 0.5166 GB, free: 37.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005053/0.3567, allocations: 6.385 MB / 0.5229 GB, free: 31.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004597/0.3613, allocations: 0.5345 MB / 0.5234 GB, free: 30.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008064/0.3621, allocations: 416.1 kB / 0.5238 GB, free: 30.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * Number of states: 0 () * Number of discrete variables: 45 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (848): * Single equations (assignments): 839 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002732/0.3648, allocations: 2.216 MB / 0.5259 GB, free: 28.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006119/0.3654, allocations: 395.2 kB / 0.5263 GB, free: 27.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003531/0.3689, allocations: 3.317 MB / 0.5296 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0026/0.3715, allocations: 2.765 MB / 0.5323 GB, free: 21.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.3716, allocations: 4 kB / 0.5323 GB, free: 21.53 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/0.3716, allocations: 11.91 kB / 0.5323 GB, free: 21.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/0.3836, allocations: 9.88 MB / 0.5419 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/0.3836, allocations: 19.97 kB / 0.5419 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000834/0.3844, allocations: 375.4 kB / 0.5423 GB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001408/0.3858, allocations: 0.9864 MB / 0.5433 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001282/0.3859, allocations: 59.97 kB / 0.5433 GB, free: 9.949 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002597/0.3885, allocations: 4.698 MB / 0.5479 GB, free: 5.031 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004581/0.389, allocations: 1.462 MB / 0.5493 GB, free: 3.445 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005678/0.3947, allocations: 5.938 MB / 0.5551 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/0.3958, allocations: 437 kB / 0.5555 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003997/0.3962, allocations: 55.98 kB / 0.5556 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/0.3974, allocations: 219.7 kB / 0.5558 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000259/0.3977, allocations: 184.2 kB / 0.556 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/0.3978, allocations: 76.55 kB / 0.5561 GB, free: 12.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003593/0.4014, allocations: 2.843 MB / 0.5588 GB, free: 9.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4014, allocations: 0 / 0.5588 GB, free: 9.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004631/0.406, allocations: 1.269 MB / 0.5601 GB, free: 8.23 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($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],p2.s,p2.v) * 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 (180): * Single equations (assignments): 173 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006801/0.4128, allocations: 6.647 MB / 0.5666 GB, free: 1.367 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007568/0.4204, allocations: 5.713 MB / 0.5721 GB, free: 11.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.52e-05/0.4204, allocations: 4 kB / 0.5721 GB, free: 11.65 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00239/0.4228, allocations: 1.971 MB / 0.5741 GB, free: 9.652 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002517/0.4253, allocations: 0.4982 MB / 0.5746 GB, free: 9.16 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2101/0.6354, allocations: 53.67 MB / 0.627 GB, free: 149.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00242/0.6378, allocations: 2.925 MB / 0.6298 GB, free: 148.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002862/0.6407, allocations: 2.034 MB / 0.6318 GB, free: 148.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00161/0.6423, allocations: 2.107 MB / 0.6339 GB, free: 146.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.693e-06/0.6423, allocations: 0 / 0.6339 GB, free: 146.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08691/0.7292, allocations: 78.69 MB / 0.7107 GB, free: 68.59 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.45, allocations: 11.56 kB / 0.7107 GB, free: 68.58 MB / 474.7 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0019992 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.267340382561088] Failed to read output from testmodel.py, exit status != 0: ['time', '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]', 'p2.s', 'p2.v'] 12.588068845681846 12.596497339 12.554284952 Calling exit ...