Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.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.001864/0.001864, allocations: 105.1 kB / 21.22 MB, free: 0.6797 MB / 14.72 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.0026/0.0026, allocations: 209.7 kB / 24.54 MB, free: 4.055 MB / 14.72 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 1.587/1.587, allocations: 230.5 MB / 258.2 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2517/0.2517, allocations: 46.93 MB / 361.6 MB, free: 4.207 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) 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(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002438/0.002438, allocations: 75.88 kB / 0.497 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3639, allocations: 66.09 MB / 0.5615 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01557/0.3795, allocations: 12.34 MB / 0.5736 GB, free: 7.918 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009741/0.3892, allocations: 3.896 MB / 0.5774 GB, free: 4.012 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002631/0.3918, allocations: 71.75 kB / 0.5774 GB, free: 3.941 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003592/0.3954, allocations: 1.354 MB / 0.5788 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005232/0.4007, allocations: 1.763 MB / 0.5805 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.4021, allocations: 419.2 kB / 0.5809 GB, free: 412 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006347/0.4084, allocations: 3.599 MB / 0.5844 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003549/0.412, allocations: 1.832 MB / 0.5862 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002921/0.4149, allocations: 1.222 MB / 0.5874 GB, free: 9.699 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003608/0.4185, allocations: 1.912 MB / 0.5893 GB, free: 7.781 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001152/0.4197, allocations: 247.9 kB / 0.5895 GB, free: 7.539 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00285/0.4225, allocations: 0.8386 MB / 0.5903 GB, free: 6.699 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002639/0.4251, allocations: 1.601 MB / 0.5919 GB, free: 5.094 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00358/0.4287, allocations: 1.867 MB / 0.5937 GB, free: 3.215 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009632/0.4384, allocations: 6.103 MB / 0.5997 GB, free: 13.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.4384, allocations: 0 / 0.5997 GB, free: 13.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4384, allocations: 0 / 0.5997 GB, free: 13.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002549/0.4386, allocations: 4 kB / 0.5997 GB, free: 13.08 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.01068/0.4493, allocations: 4.076 MB / 0.6036 GB, free: 8.945 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.4494, allocations: 12.03 kB / 0.6037 GB, free: 8.934 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001948/0.4513, allocations: 0.7039 MB / 0.6043 GB, free: 8.223 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01112/0.4624, allocations: 3.106 MB / 0.6074 GB, free: 5.109 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00584/0.4683, allocations: 2.064 MB / 0.6094 GB, free: 3.008 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002281/0.4685, allocations: 200.7 kB / 0.6096 GB, free: 2.809 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001048/0.4695, allocations: 239.8 kB / 0.6098 GB, free: 2.574 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02033/0.4899, allocations: 10.18 MB / 0.6198 GB, free: 7.957 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00015/0.49, allocations: 23.81 kB / 0.6198 GB, free: 7.934 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008771/0.4909, allocations: 119.8 kB / 0.6199 GB, free: 7.816 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004427/0.4953, allocations: 2.471 MB / 0.6223 GB, free: 5.344 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02093/0.5162, allocations: 9.345 MB / 0.6314 GB, free: 11.99 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05819/0.5744, allocations: 31.41 MB / 0.6621 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006254/0.5807, allocations: 2.344 MB / 0.6644 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001743/0.5824, allocations: 0.9899 MB / 0.6654 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000937/0.5834, allocations: 442.6 kB / 0.6658 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.622e-05/0.5834, allocations: 51.86 kB / 0.6658 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 6.091e-06/0.5834, allocations: 0 / 0.6658 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.0226/0.606, allocations: 8.948 MB / 0.6746 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.772e-05/0.6061, allocations: 68.72 kB / 0.6746 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004829/0.6109, allocations: 2.616 MB / 0.6772 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003092/0.6112, allocations: 49.7 kB / 0.6772 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003087/0.6143, allocations: 2.776 MB / 0.6799 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001121/0.6154, allocations: 0.7364 MB / 0.6807 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001875/0.6173, allocations: 0.9769 MB / 0.6816 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.6175, allocations: 305.1 kB / 0.6819 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003418/0.6209, allocations: 1.54 MB / 0.6834 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00779/0.6287, allocations: 4.371 MB / 0.6877 GB, free: 16 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01006/0.6387, allocations: 6.559 MB / 0.6941 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001217/0.6389, allocations: 32 kB / 0.6941 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.0125/0.6514, allocations: 5.84 MB / 0.6998 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.6515, allocations: 48 kB / 0.6999 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001786/0.6516, allocations: 100 kB / 0.7 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000434/0.6521, allocations: 172.8 kB / 0.7001 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003769/0.6558, allocations: 1.068 MB / 0.7012 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/0.6579, allocations: 1.686 MB / 0.7028 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003051/0.661, allocations: 219.9 kB / 0.703 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007913/0.6618, allocations: 292 kB / 0.7033 GB, free: 14.48 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (592): * Single equations (assignments): 585 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003877/0.6656, allocations: 1.986 MB / 0.7052 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005221/0.6662, allocations: 258.2 kB / 0.7055 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004649/0.6708, allocations: 2.533 MB / 0.708 GB, free: 9.664 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.462e-05/0.6709, allocations: 20 kB / 0.708 GB, free: 9.645 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.6709, allocations: 0 / 0.708 GB, free: 9.645 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.311e-05/0.6709, allocations: 7.969 kB / 0.708 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01578/0.6867, allocations: 7.918 MB / 0.7157 GB, free: 1.531 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.078e-05/0.6867, allocations: 12 kB / 0.7157 GB, free: 1.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/0.6878, allocations: 251.5 kB / 0.716 GB, free: 1.273 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000189/0.688, allocations: 60.8 kB / 0.716 GB, free: 1.211 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001546/0.6882, allocations: 43.98 kB / 0.7161 GB, free: 1.168 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/0.6898, allocations: 1.523 MB / 0.7176 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.284e-05/0.6898, allocations: 15.94 kB / 0.7176 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006197/0.696, allocations: 4.028 MB / 0.7215 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008672/0.6968, allocations: 234.2 kB / 0.7217 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004007/0.6972, allocations: 35.94 kB / 0.7218 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008625/0.6981, allocations: 59.95 kB / 0.7218 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002722/0.6984, allocations: 128.6 kB / 0.7219 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000136/0.6985, allocations: 63.97 kB / 0.722 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002981/0.7015, allocations: 1.611 MB / 0.7236 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7015, allocations: 0 / 0.7236 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004625/0.7061, allocations: 0.7695 MB / 0.7243 GB, free: 8.434 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 2 (prismatic.s,prismatic.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 (139): * Single equations (assignments): 132 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007218/0.7133, allocations: 4.707 MB / 0.7289 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.3031/1.016, allocations: 3.708 MB / 0.7325 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-05/1.016, allocations: 4.406 kB / 0.7326 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002555/1.019, allocations: 1.168 MB / 0.7337 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002325/1.021, allocations: 341.1 kB / 0.734 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04501/1.066, allocations: 33.46 MB / 0.7667 GB, free: 130.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004178/1.071, allocations: 3.129 MB / 0.7698 GB, free: 127 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003647/1.074, allocations: 1.713 MB / 0.7714 GB, free: 125.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002783/1.077, allocations: 1.69 MB / 0.7731 GB, free: 123.6 MB / 0.5606 GB Notification: Performance of SimCode: time 2.084e-06/1.077, allocations: 4 kB / 0.7731 GB, free: 123.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09101/1.168, allocations: 49.89 MB / 0.8218 GB, free: 73.95 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.63/18.8, allocations: 17.22 kB / 0.8218 GB, free: 73.94 MB / 0.5606 GB " [Timeout remaining time 641] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.033368463162333] Failed to read output from testmodel.py, exit status != 0: ['time', 'prismatic.s', 'prismatic.v'] 18.923836941830814 18.945954315 18.502725355 Calling exit ...