Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.001295/0.001295, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001445/0.001445, allocations: 209.4 kB / 24.47 MB, free: 3.547 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.329/1.329, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="me",version="2.0",platforms={"static"}) [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.001898/0.001898, allocations: 51.92 kB / 347.2 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2514, allocations: 49.16 MB / 396.4 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01184/0.2632, allocations: 10.51 MB / 406.9 MB, free: 2.047 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008112/0.2713, allocations: 4.01 MB / 410.9 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001412/0.2727, allocations: 80.56 kB / 411 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005123/0.2778, allocations: 2.702 MB / 413.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005704/0.2836, allocations: 2.029 MB / 415.7 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002144/0.2857, allocations: 0.8109 MB / 416.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007283/0.293, allocations: 4.637 MB / 421.1 MB, free: 9.586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003934/0.2969, allocations: 2.937 MB / 424.1 MB, free: 7.309 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003011/0.2999, allocations: 1.733 MB / 425.8 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003486/0.3034, allocations: 2.394 MB / 428.2 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007143/0.3041, allocations: 352 kB / 428.5 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00251/0.3066, allocations: 1.178 MB / 429.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002292/0.3089, allocations: 2.177 MB / 431.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002632/0.3116, allocations: 1.837 MB / 433.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009338/0.3209, allocations: 7.625 MB / 441.4 MB, free: 5.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3209, allocations: 0 / 441.4 MB, free: 5.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3209, allocations: 0 / 441.4 MB, free: 5.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001582/0.3211, allocations: 0 / 441.4 MB, free: 5.957 MB / 350.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.009924/0.331, allocations: 5.385 MB / 446.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.331, allocations: 15.98 kB / 446.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001019/0.3321, allocations: 0.7982 MB / 447.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008007/0.3401, allocations: 2.17 MB / 449.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007691/0.3478, allocations: 3.394 MB / 453.1 MB, free: 10.06 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002607/0.348, allocations: 270.9 kB / 453.4 MB, free: 9.797 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009764/0.349, allocations: 431.6 kB / 453.8 MB, free: 9.375 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02422/0.3732, allocations: 12.29 MB / 466.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001173/0.3733, allocations: 51.58 kB / 466.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004329/0.3738, allocations: 175.8 kB / 466.3 MB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003372/0.3771, allocations: 2.162 MB / 468.5 MB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02054/0.3977, allocations: 10.18 MB / 478.7 MB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05314/0.4508, allocations: 42.53 MB / 0.509 GB, free: 3.883 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01115/0.462, allocations: 3.77 MB / 0.5127 GB, free: 80 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0025/0.4645, allocations: 1.63 MB / 0.5143 GB, free: 14.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01271/0.4772, allocations: 6.51 MB / 0.5206 GB, free: 7.875 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.639e-05/0.4772, allocations: 55.81 kB / 0.5207 GB, free: 7.812 MB / 446.1 MB Notification: Performance of pre-optimization done (n=183): time 4.639e-06/0.4772, allocations: 4 kB / 0.5207 GB, free: 7.809 MB / 446.1 MB Notification: Performance of matching and sorting (n=205): time 0.04264/0.5199, allocations: 16 MB / 0.5363 GB, free: 7.73 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001517/0.5214, allocations: 1.596 MB / 0.5379 GB, free: 5.984 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007547/0.529, allocations: 4.488 MB / 0.5422 GB, free: 1.465 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003402/0.5293, allocations: 61.69 kB / 0.5423 GB, free: 1.398 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003029/0.5323, allocations: 3.549 MB / 0.5458 GB, free: 13.81 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001123/0.5334, allocations: 0.8374 MB / 0.5466 GB, free: 12.97 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002476/0.5359, allocations: 1.362 MB / 0.5479 GB, free: 11.6 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.536, allocations: 301.1 kB / 0.5482 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003913/0.54, allocations: 2.227 MB / 0.5504 GB, free: 9.07 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007502/0.5475, allocations: 6.351 MB / 0.5566 GB, free: 0.668 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1796/0.7271, allocations: 9.255 MB / 0.5656 GB, free: 132.1 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001448/0.7272, allocations: 41.72 kB / 0.5657 GB, free: 132.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.01803/0.7453, allocations: 9.093 MB / 0.5745 GB, free: 129 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.7454, allocations: 72.28 kB / 0.5746 GB, free: 129 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005076/0.7504, allocations: 2.837 MB / 0.5774 GB, free: 128.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002947/0.7534, allocations: 1.07 MB / 0.5784 GB, free: 128.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004365/0.7577, allocations: 1.569 MB / 0.58 GB, free: 127.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003541/0.7613, allocations: 4.45 MB / 0.5843 GB, free: 124.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004539/0.7658, allocations: 424.4 kB / 0.5847 GB, free: 124.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008011/0.7666, allocations: 415.3 kB / 0.5851 GB, free: 124.7 MB / 478.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.003259/0.7699, allocations: 2.213 MB / 0.5873 GB, free: 123.8 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007149/0.7706, allocations: 398.1 kB / 0.5876 GB, free: 123.8 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005676/0.7763, allocations: 3.284 MB / 0.5908 GB, free: 122.6 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004436/0.7807, allocations: 2.736 MB / 0.5935 GB, free: 121.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/0.7807, allocations: 4 kB / 0.5935 GB, free: 121.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.36e-05/0.7808, allocations: 9.938 kB / 0.5935 GB, free: 121.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01864/0.7994, allocations: 9.785 MB / 0.6031 GB, free: 111.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-05/0.7994, allocations: 12.88 kB / 0.6031 GB, free: 111.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/0.8007, allocations: 370.1 kB / 0.6035 GB, free: 111.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002562/0.8033, allocations: 0.9825 MB / 0.6044 GB, free: 110.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001761/0.8035, allocations: 63.97 kB / 0.6045 GB, free: 110.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003758/0.8072, allocations: 4.678 MB / 0.609 GB, free: 105.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006651/0.8079, allocations: 1.461 MB / 0.6105 GB, free: 104.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007106/0.815, allocations: 5.93 MB / 0.6163 GB, free: 98.14 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001727/0.8167, allocations: 0.6081 MB / 0.6169 GB, free: 97.57 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007369/0.8175, allocations: 59.97 kB / 0.6169 GB, free: 97.51 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001884/0.8193, allocations: 143.8 kB / 0.6171 GB, free: 97.37 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002501/0.8196, allocations: 180.3 kB / 0.6172 GB, free: 97.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/0.8197, allocations: 71.98 kB / 0.6173 GB, free: 97.12 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003561/0.8233, allocations: 2.622 MB / 0.6199 GB, free: 94.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8233, allocations: 0 / 0.6199 GB, free: 94.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004479/0.8278, allocations: 1.141 MB / 0.621 GB, free: 93.36 MB / 478.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.006823/0.8346, allocations: 6.616 MB / 0.6274 GB, free: 86.55 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007392/0.842, allocations: 5.555 MB / 0.6329 GB, free: 80.99 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/0.842, allocations: 4 kB / 0.6329 GB, free: 80.98 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003058/0.845, allocations: 1.959 MB / 0.6348 GB, free: 79 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00243/0.8475, allocations: 0.4962 MB / 0.6353 GB, free: 78.51 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04774/0.8952, allocations: 50.88 MB / 0.6849 GB, free: 20.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002659/0.8979, allocations: 2.929 MB / 0.6878 GB, free: 17.83 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003628/0.9015, allocations: 2.019 MB / 0.6898 GB, free: 15.81 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001814/0.9033, allocations: 2.104 MB / 0.6918 GB, free: 13.7 MB / 478.1 MB Notification: Performance of SimCode: time 8.01e-07/0.9033, allocations: 8 kB / 0.6918 GB, free: 13.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.021/3.924, allocations: 74.04 MB / 0.7641 GB, free: 181.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.87/21.79, allocations: 1.969 kB / 0.7641 GB, free: 181.6 MB / 0.5137 GB " [Timeout remaining time 638] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 24.3448996799998] 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'] 21.961476676166058 21.972388092 21.649067528 Calling exit ...