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.001638/0.001638, allocations: 106.5 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.0017/0.0017, allocations: 209.3 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.513/1.513, allocations: 230.5 MB / 258.2 MB, free: 8.055 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.2329/0.2329, allocations: 46.94 MB / 361.6 MB, free: 4.223 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.002326/0.002326, allocations: 79.88 kB / 0.497 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3247, allocations: 66.09 MB / 0.5615 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01621/0.3409, allocations: 13.58 MB / 0.5748 GB, free: 6.688 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01133/0.3522, allocations: 4.219 MB / 0.5789 GB, free: 2.457 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002829/0.355, allocations: 83.69 kB / 0.579 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004221/0.3593, allocations: 1.841 MB / 0.5808 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004907/0.3642, allocations: 1.872 MB / 0.5826 GB, free: 14.65 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.3657, allocations: 0.5458 MB / 0.5831 GB, free: 14.1 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005783/0.3715, allocations: 3.894 MB / 0.5869 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00344/0.375, allocations: 2.282 MB / 0.5892 GB, free: 7.863 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002449/0.3774, allocations: 1.398 MB / 0.5905 GB, free: 6.461 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003529/0.3809, allocations: 2.134 MB / 0.5926 GB, free: 4.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008694/0.3818, allocations: 296 kB / 0.5929 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002369/0.3842, allocations: 1.022 MB / 0.5939 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002211/0.3864, allocations: 1.78 MB / 0.5956 GB, free: 1.223 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003124/0.3895, allocations: 2.108 MB / 0.5977 GB, free: 15.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009346/0.3989, allocations: 6.924 MB / 0.6045 GB, free: 8.148 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3989, allocations: 0 / 0.6045 GB, free: 8.148 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3989, allocations: 0 / 0.6045 GB, free: 8.148 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002596/0.3991, allocations: 0 / 0.6045 GB, free: 8.148 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.01094/0.4101, allocations: 4.577 MB / 0.6089 GB, free: 3.512 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.4101, allocations: 16.02 kB / 0.6089 GB, free: 3.496 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001641/0.4118, allocations: 0.758 MB / 0.6097 GB, free: 2.727 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01092/0.4227, allocations: 3.157 MB / 0.6128 GB, free: 15.56 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005599/0.4283, allocations: 2.291 MB / 0.615 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002838/0.4286, allocations: 221.5 kB / 0.6152 GB, free: 13.02 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001437/0.43, allocations: 287.8 kB / 0.6155 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02272/0.4527, allocations: 11.11 MB / 0.6263 GB, free: 1.156 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00019/0.4529, allocations: 31.77 kB / 0.6264 GB, free: 1.125 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00126/0.4542, allocations: 135.8 kB / 0.6265 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004974/0.4591, allocations: 2.612 MB / 0.6291 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02277/0.4819, allocations: 10.38 MB / 0.6392 GB, free: 3.973 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06015/0.5421, allocations: 36.4 MB / 0.6747 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0095/0.5516, allocations: 3.487 MB / 0.6781 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003823/0.5554, allocations: 2.224 MB / 0.6803 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001035/0.5564, allocations: 453.2 kB / 0.6807 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.381e-05/0.5565, allocations: 60.48 kB / 0.6808 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 6.523e-06/0.5565, allocations: 0 / 0.6808 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.04663/0.6031, allocations: 17.42 MB / 0.6978 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.359e-05/0.6032, allocations: 77.39 kB / 0.6979 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005494/0.6087, allocations: 2.743 MB / 0.7006 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004863/0.6092, allocations: 65.7 kB / 0.7006 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002593/0.6118, allocations: 2.886 MB / 0.7035 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00138/0.6132, allocations: 0.9571 MB / 0.7044 GB, free: 192 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00308/0.6162, allocations: 1.069 MB / 0.7054 GB, free: 15.11 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.6164, allocations: 301.1 kB / 0.7057 GB, free: 14.81 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004131/0.6206, allocations: 2.31 MB / 0.708 GB, free: 12.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006559/0.6271, allocations: 5.214 MB / 0.7131 GB, free: 5.863 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01117/0.6383, allocations: 8.257 MB / 0.7211 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.968e-05/0.6384, allocations: 28 kB / 0.7212 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01645/0.6549, allocations: 8.279 MB / 0.7292 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001167/0.655, allocations: 50.19 kB / 0.7293 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001696/0.6551, allocations: 104.2 kB / 0.7294 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002919/0.6581, allocations: 0.9411 MB / 0.7303 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004269/0.6623, allocations: 1.224 MB / 0.7315 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2902/0.9525, allocations: 5.027 MB / 0.7364 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003732/0.9562, allocations: 297.6 kB / 0.7367 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009407/0.9572, allocations: 309.9 kB / 0.737 GB, free: 149.6 MB / 0.5606 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.004033/0.9612, allocations: 2.154 MB / 0.7391 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005785/0.9618, allocations: 293 kB / 0.7394 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008207/0.97, allocations: 5.116 MB / 0.7444 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.975e-05/0.97, allocations: 50 kB / 0.7444 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.97, allocations: 0.8125 kB / 0.7444 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.084e-05/0.9701, allocations: 15.42 kB / 0.7444 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01955/0.9896, allocations: 11.83 MB / 0.756 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.2e-05/0.9897, allocations: 8 kB / 0.756 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001793/0.9914, allocations: 398.2 kB / 0.7564 GB, free: 142 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00223/0.9937, allocations: 0.7807 MB / 0.7571 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004625/0.9941, allocations: 44 kB / 0.7572 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004649/0.9988, allocations: 4.285 MB / 0.7614 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/0.9988, allocations: 15.94 kB / 0.7614 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01007/1.009, allocations: 7.632 MB / 0.7688 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008128/1.01, allocations: 264.8 kB / 0.7691 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005572/1.01, allocations: 51.67 kB / 0.7691 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/1.011, allocations: 147.7 kB / 0.7693 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000364/1.012, allocations: 160.5 kB / 0.7694 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/1.012, allocations: 75.98 kB / 0.7695 GB, free: 129 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002164/1.014, allocations: 1.691 MB / 0.7712 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/1.014, allocations: 0 / 0.7712 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003972/1.018, allocations: 0.9649 MB / 0.7721 GB, free: 126.4 MB / 0.5606 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.009547/1.028, allocations: 8.287 MB / 0.7802 GB, free: 118 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007211/1.035, allocations: 5.419 MB / 0.7855 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-05/1.035, allocations: 4 kB / 0.7855 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002664/1.038, allocations: 2 MB / 0.7874 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002855/1.04, allocations: 397.3 kB / 0.7878 GB, free: 110.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06131/1.102, allocations: 42.36 MB / 0.8292 GB, free: 63.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004978/1.107, allocations: 3.371 MB / 0.8325 GB, free: 59.97 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004303/1.111, allocations: 1.986 MB / 0.8344 GB, free: 57.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002994/1.114, allocations: 1.839 MB / 0.8362 GB, free: 56.14 MB / 0.5606 GB Notification: Performance of SimCode: time 1.864e-06/1.114, allocations: 0 / 0.8362 GB, free: 56.14 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1059/1.22, allocations: 64.51 MB / 0.8992 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.6/24.82, allocations: 6.406 kB / 0.8992 GB, free: 7.871 MB / 0.5762 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: 27.947106369305402] Failed to read output from testmodel.py, exit status != 0: ['time', 'cylindrical.phi', 'cylindrical.s', 'cylindrical.v', 'cylindrical.w'] 24.948156624101102 24.977613868 24.572421215 Calling exit ...