Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.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.001806/0.001806, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.00231/0.00231, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.646/1.646, allocations: 230.5 MB / 254.7 MB, free: 15.03 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.2678/0.2678, allocations: 46.93 MB / 357.7 MB, free: 10.19 MB / 286.1 MB " [Timeout remaining time 180] 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.Cylindrical,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Cylindrical",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.003537/0.003537, allocations: 83.84 kB / 0.4917 GB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1704, allocations: 66.03 MB / 0.5562 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01928/0.1897, allocations: 13.56 MB / 0.5694 GB, free: 7.918 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01048/0.2002, allocations: 4.195 MB / 0.5735 GB, free: 3.707 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002842/0.203, allocations: 79.69 kB / 0.5736 GB, free: 3.629 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005207/0.2082, allocations: 1.845 MB / 0.5754 GB, free: 1.777 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006212/0.2144, allocations: 1.855 MB / 0.5772 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002016/0.2165, allocations: 0.5459 MB / 0.5777 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006728/0.2232, allocations: 3.898 MB / 0.5815 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004018/0.2272, allocations: 2.31 MB / 0.5838 GB, free: 9.105 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002954/0.2302, allocations: 1.401 MB / 0.5852 GB, free: 7.699 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003874/0.234, allocations: 2.134 MB / 0.5872 GB, free: 5.559 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001202/0.2352, allocations: 296 kB / 0.5875 GB, free: 5.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002951/0.2382, allocations: 1.034 MB / 0.5885 GB, free: 4.234 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002967/0.2412, allocations: 1.78 MB / 0.5903 GB, free: 2.449 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004356/0.2455, allocations: 2.1 MB / 0.5923 GB, free: 344 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3385/0.584, allocations: 6.906 MB / 0.5991 GB, free: 9.906 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.584, allocations: 0.7812 kB / 0.5991 GB, free: 9.906 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.584, allocations: 0 / 0.5991 GB, free: 9.906 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003664/0.5843, allocations: 3.344 kB / 0.5991 GB, free: 9.906 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: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01941/0.6038, allocations: 4.664 MB / 0.6036 GB, free: 7.938 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.358e-05/0.6038, allocations: 9.656 kB / 0.6036 GB, free: 7.938 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004041/0.6079, allocations: 0.7613 MB / 0.6044 GB, free: 7.859 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01346/0.6213, allocations: 3.154 MB / 0.6075 GB, free: 7.547 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007749/0.6291, allocations: 2.351 MB / 0.6098 GB, free: 7.016 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004771/0.6295, allocations: 213.9 kB / 0.61 GB, free: 7.008 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002667/0.6322, allocations: 293.9 kB / 0.6102 GB, free: 7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03075/0.663, allocations: 11.11 MB / 0.6211 GB, free: 3.977 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002613/0.6632, allocations: 29.33 kB / 0.6211 GB, free: 3.973 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002183/0.6654, allocations: 132.4 kB / 0.6212 GB, free: 3.922 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005383/0.6708, allocations: 2.621 MB / 0.6238 GB, free: 3.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02538/0.6962, allocations: 10.38 MB / 0.6339 GB, free: 13.87 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07221/0.7684, allocations: 36.55 MB / 0.6696 GB, free: 9.07 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01075/0.7791, allocations: 4.391 MB / 0.6739 GB, free: 4.461 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004419/0.7836, allocations: 2.224 MB / 0.6761 GB, free: 2.238 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001728/0.7853, allocations: 1.317 MB / 0.6774 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.58e-05/0.7854, allocations: 52.5 kB / 0.6774 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of pre-optimization done (n=242): time 6.402e-06/0.7854, allocations: 4 kB / 0.6774 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of matching and sorting (n=254): time 0.05655/0.8419, allocations: 17.65 MB / 0.6947 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.485e-05/0.842, allocations: 77.39 kB / 0.6947 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006685/0.8487, allocations: 2.742 MB / 0.6974 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007405/0.8494, allocations: 61.7 kB / 0.6975 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003051/0.8525, allocations: 2.891 MB / 0.7003 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001871/0.8544, allocations: 0.9531 MB / 0.7012 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003271/0.8576, allocations: 1.072 MB / 0.7023 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.8578, allocations: 305.1 kB / 0.7026 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00491/0.8627, allocations: 2.306 MB / 0.7048 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008565/0.8713, allocations: 5.219 MB / 0.7099 GB, free: 14 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01316/0.8844, allocations: 8.251 MB / 0.718 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001203/0.8846, allocations: 29.97 kB / 0.718 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02111/0.9057, allocations: 8.28 MB / 0.7261 GB, free: 12.86 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001282/0.9058, allocations: 48.19 kB / 0.7261 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002034/0.906, allocations: 108 kB / 0.7262 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003484/0.9095, allocations: 0.9371 MB / 0.7272 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005154/0.9146, allocations: 1.217 MB / 0.7283 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008684/0.9233, allocations: 5.148 MB / 0.7334 GB, free: 5.277 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004651/0.928, allocations: 295.8 kB / 0.7337 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001561/0.9295, allocations: 304 kB / 0.7339 GB, free: 4.691 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 35 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.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 (653): * Single equations (assignments): 646 * 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 {(4,10,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007253/0.9368, allocations: 2.148 MB / 0.736 GB, free: 2.531 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001064/0.9379, allocations: 294 kB / 0.7363 GB, free: 2.242 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01293/0.9508, allocations: 5.116 MB / 0.7413 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001095/0.9509, allocations: 50.03 kB / 0.7414 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.55e-05/0.9509, allocations: 4 kB / 0.7414 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.775e-05/0.951, allocations: 15.94 kB / 0.7414 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03129/0.9823, allocations: 11.86 MB / 0.753 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.109e-05/0.9823, allocations: 11.94 kB / 0.753 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002154/0.9845, allocations: 399.5 kB / 0.7534 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002975/0.9874, allocations: 0.7769 MB / 0.7541 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006304/0.9881, allocations: 44 kB / 0.7542 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006981/0.995, allocations: 4.392 MB / 0.7584 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.399e-05/0.9951, allocations: 15.69 kB / 0.7585 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01582/1.011, allocations: 7.636 MB / 0.7659 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/1.012, allocations: 335.2 kB / 0.7662 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001177/1.013, allocations: 50.64 kB / 0.7663 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002024/1.015, allocations: 147.8 kB / 0.7664 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000705/1.016, allocations: 152.9 kB / 0.7666 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003058/1.016, allocations: 81.28 kB / 0.7667 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003771/1.02, allocations: 1.689 MB / 0.7683 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.81e-07/1.02, allocations: 0 / 0.7683 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006524/1.026, allocations: 0.9609 MB / 0.7692 GB, free: 56 kB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * 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 (196): * Single equations (assignments): 189 * 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 {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0165/1.043, allocations: 8.293 MB / 0.7773 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01184/1.055, allocations: 5.418 MB / 0.7826 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/1.055, allocations: 1.812 kB / 0.7826 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0045/1.059, allocations: 1.992 MB / 0.7846 GB, free: 200 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004061/1.063, allocations: 405.9 kB / 0.785 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09245/1.156, allocations: 42.26 MB / 0.8262 GB, free: 1.098 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006832/1.163, allocations: 3.371 MB / 0.8295 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004866/1.168, allocations: 1.978 MB / 0.8315 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00392/1.171, allocations: 1.835 MB / 0.8332 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of SimCode: time 1.683e-06/1.171, allocations: 0 / 0.8332 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4461/1.618, allocations: 60.03 MB / 0.8919 GB, free: 215.5 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.15/24.77, allocations: 11.55 kB / 0.8919 GB, free: 215.5 MB / 0.6544 GB " [Timeout remaining time 635] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical_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_Cylindrical.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 28.300728993024677] Failed to read output from testmodel.py, exit status != 0: ['time', 'cylindrical.phi', 'cylindrical.s', 'cylindrical.v', 'cylindrical.w'] 24.90284233400598 24.911501973 24.324676685 Calling exit ...