Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 101.5 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 184.4 kB / 24.49 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 225.7 MB / 253.3 MB, free: 12.87 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 51.92 kB / 371.2 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2527, allocations: 52.18 MB / 423.4 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01328/0.266, allocations: 10.43 MB / 433.8 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01011/0.2761, allocations: 4.001 MB / 437.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002105/0.2782, allocations: 79.62 kB / 437.9 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005808/0.284, allocations: 2.69 MB / 440.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005171/0.2892, allocations: 2.023 MB / 442.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001829/0.291, allocations: 0.8228 MB / 443.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006162/0.2972, allocations: 4.611 MB / 448 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004403/0.3016, allocations: 2.941 MB / 451 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002893/0.3045, allocations: 1.717 MB / 452.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003997/0.3085, allocations: 2.531 MB / 455.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001145/0.3096, allocations: 352 kB / 455.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002809/0.3124, allocations: 1.198 MB / 456.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002919/0.3154, allocations: 2.174 MB / 458.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004119/0.3195, allocations: 1.821 MB / 460.7 MB, free: 8.867 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01067/0.3302, allocations: 7.61 MB / 468.4 MB, free: 1.227 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.3302, allocations: 0 / 468.4 MB, free: 1.227 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3302, allocations: 0 / 468.4 MB, free: 1.227 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002899/0.3304, allocations: 0 / 468.4 MB, free: 1.227 MB / 366.1 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.01189/0.3423, allocations: 5.358 MB / 473.7 MB, free: 11.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.3424, allocations: 8.031 kB / 473.7 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001337/0.3425, allocations: 123.2 kB / 473.8 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001459/0.344, allocations: 0.7943 MB / 474.6 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0079/0.3519, allocations: 2.166 MB / 476.8 MB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006169/0.358, allocations: 3.093 MB / 479.9 MB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002532/0.3583, allocations: 274.8 kB / 480.2 MB, free: 5.285 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001176/0.3595, allocations: 431.6 kB / 480.6 MB, free: 4.863 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0234/0.3829, allocations: 12.29 MB / 492.9 MB, free: 7.742 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000123/0.383, allocations: 51.56 kB / 492.9 MB, free: 7.691 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004543/0.3834, allocations: 175.8 kB / 493.1 MB, free: 7.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00346/0.3869, allocations: 2.17 MB / 495.3 MB, free: 5.344 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02105/0.408, allocations: 10.2 MB / 0.4936 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2778/0.6858, allocations: 42.48 MB / 0.5351 GB, free: 98.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01079/0.6966, allocations: 3.788 MB / 0.5388 GB, free: 98.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001851/0.6984, allocations: 1.626 MB / 0.5404 GB, free: 98.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009227/0.7077, allocations: 6.498 MB / 0.5467 GB, free: 96.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.7077, allocations: 58.44 kB / 0.5468 GB, free: 96.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=183): time 4.829e-06/0.7077, allocations: 3.469 kB / 0.5468 GB, free: 96.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=205): time 0.03367/0.7414, allocations: 15.91 MB / 0.5623 GB, free: 87.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009622/0.7423, allocations: 1.584 MB / 0.5639 GB, free: 85.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004647/0.747, allocations: 4.217 MB / 0.568 GB, free: 81.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002699/0.7472, allocations: 57.7 kB / 0.5681 GB, free: 81.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001461/0.7487, allocations: 3.546 MB / 0.5715 GB, free: 78.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006444/0.7494, allocations: 0.8313 MB / 0.5723 GB, free: 77.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001349/0.7507, allocations: 1.361 MB / 0.5737 GB, free: 76.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.311e-05/0.7507, allocations: 305.3 kB / 0.574 GB, free: 75.83 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002594/0.7533, allocations: 2.235 MB / 0.5761 GB, free: 73.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004337/0.7577, allocations: 6.35 MB / 0.5823 GB, free: 65.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007838/0.7655, allocations: 9.256 MB / 0.5914 GB, free: 54.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001131/0.7656, allocations: 43.94 kB / 0.5914 GB, free: 54.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.01369/0.7793, allocations: 9.098 MB / 0.6003 GB, free: 44.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.7e-05/0.7794, allocations: 71.94 kB / 0.6004 GB, free: 44.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00445/0.7838, allocations: 2.83 MB / 0.6031 GB, free: 42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002713/0.7866, allocations: 1.076 MB / 0.6042 GB, free: 40.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003798/0.7904, allocations: 1.571 MB / 0.6057 GB, free: 39.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003275/0.7936, allocations: 4.451 MB / 0.6101 GB, free: 34.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004158/0.7978, allocations: 423.3 kB / 0.6105 GB, free: 34.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004665/0.7983, allocations: 412 kB / 0.6109 GB, free: 33.84 MB / 446.1 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.002531/0.8008, allocations: 2.208 MB / 0.613 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000559/0.8013, allocations: 401.3 kB / 0.6134 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005124/0.8065, allocations: 3.281 MB / 0.6166 GB, free: 27.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004099/0.8106, allocations: 2.738 MB / 0.6193 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.8106, allocations: 4 kB / 0.6193 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-05/0.8106, allocations: 8.031 kB / 0.6193 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01405/0.8247, allocations: 9.787 MB / 0.6288 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/0.8247, allocations: 16.03 kB / 0.6289 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/0.826, allocations: 363.5 kB / 0.6292 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002523/0.8285, allocations: 0.9824 MB / 0.6302 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001483/0.8286, allocations: 67.97 kB / 0.6302 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003778/0.8324, allocations: 4.673 MB / 0.6348 GB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006935/0.8331, allocations: 1.457 MB / 0.6362 GB, free: 7.215 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00696/0.8401, allocations: 5.929 MB / 0.642 GB, free: 1.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009215/0.841, allocations: 381.4 kB / 0.6424 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005627/0.8416, allocations: 55.98 kB / 0.6424 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/0.843, allocations: 147.8 kB / 0.6426 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002637/0.8432, allocations: 180.9 kB / 0.6427 GB, free: 348 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/0.8434, allocations: 79.97 kB / 0.6428 GB, free: 268 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003728/0.8471, allocations: 2.594 MB / 0.6453 GB, free: 13.66 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8471, allocations: 0 / 0.6453 GB, free: 13.66 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004758/0.8519, allocations: 1.14 MB / 0.6465 GB, free: 12.52 MB / 462.1 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.0097/0.8616, allocations: 6.624 MB / 0.6529 GB, free: 5.676 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01068/0.8722, allocations: 5.556 MB / 0.6584 GB, free: 124 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.974e-05/0.8723, allocations: 4 kB / 0.6584 GB, free: 120 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004326/0.8766, allocations: 1.944 MB / 0.6603 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004664/0.8813, allocations: 0.5025 MB / 0.6608 GB, free: 13.64 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08527/0.9665, allocations: 50.72 MB / 0.7103 GB, free: 4.039 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003796/0.9703, allocations: 2.928 MB / 0.7131 GB, free: 1.078 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.004445/0.9748, allocations: 2.015 MB / 0.7151 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002835/0.9776, allocations: 2.096 MB / 0.7172 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of SimCode: time 8.71e-07/0.9776, allocations: 4 kB / 0.7172 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3319/1.309, allocations: 76.42 MB / 0.7918 GB, free: 140.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 55.6/56.91, allocations: 4.062 kB / 0.7918 GB, free: 140.3 MB / 0.5294 GB " [Timeout remaining time 603] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 59.413145676022395] 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'] 57.121727252961136 57.129937189 56.797522569 Calling exit ...