Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.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.00136/0.00136, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001587/0.001587, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.481/1.481, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.2281/0.2281, allocations: 46.93 MB / 361.6 MB, free: 4.191 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.JointUPS2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointUPS2",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.002398/0.002398, allocations: 79.86 kB / 0.497 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3429, allocations: 66.09 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01351/0.3564, allocations: 12.03 MB / 0.5733 GB, free: 8.219 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00901/0.3654, allocations: 4.428 MB / 0.5776 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002049/0.3674, allocations: 87.56 kB / 0.5777 GB, free: 3.695 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005676/0.3731, allocations: 2.803 MB / 0.5804 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005862/0.379, allocations: 2.066 MB / 0.5824 GB, free: 14.81 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002409/0.3814, allocations: 1.006 MB / 0.5834 GB, free: 13.8 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007721/0.3891, allocations: 5.377 MB / 0.5887 GB, free: 8.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004826/0.3939, allocations: 2.892 MB / 0.5915 GB, free: 5.465 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005334/0.3993, allocations: 1.775 MB / 0.5932 GB, free: 3.684 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005069/0.4043, allocations: 2.64 MB / 0.5958 GB, free: 1.035 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001298/0.4056, allocations: 368 kB / 0.5961 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003307/0.4089, allocations: 1.451 MB / 0.5976 GB, free: 15.22 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003245/0.4122, allocations: 2.244 MB / 0.5998 GB, free: 12.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00528/0.4175, allocations: 2.552 MB / 0.6022 GB, free: 10.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01125/0.4287, allocations: 8.229 MB / 0.6103 GB, free: 2.145 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4287, allocations: 0 / 0.6103 GB, free: 2.145 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4287, allocations: 0 / 0.6103 GB, free: 2.145 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002281/0.4289, allocations: 3.938 kB / 0.6103 GB, free: 2.141 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01454/0.4435, allocations: 5.944 MB / 0.6161 GB, free: 12.13 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.4435, allocations: 12.03 kB / 0.6161 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001877/0.4454, allocations: 0.7946 MB / 0.6169 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07607/0.5215, allocations: 7.246 MB / 0.624 GB, free: 4.059 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008281/0.5298, allocations: 3.529 MB / 0.6274 GB, free: 484 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002602/0.53, allocations: 265.4 kB / 0.6277 GB, free: 220 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001382/0.5314, allocations: 347.8 kB / 0.628 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02263/0.554, allocations: 12.28 MB / 0.64 GB, free: 2.781 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001622/0.5542, allocations: 59.53 kB / 0.64 GB, free: 2.723 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004956/0.5547, allocations: 159.8 kB / 0.6402 GB, free: 2.566 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003839/0.5585, allocations: 2.381 MB / 0.6425 GB, free: 188 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0227/0.5812, allocations: 10.69 MB / 0.653 GB, free: 5.469 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06667/0.6479, allocations: 48.54 MB / 0.7004 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01504/0.6629, allocations: 5.188 MB / 0.7054 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0042/0.6671, allocations: 2.843 MB / 0.7082 GB, free: 11.42 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02117/0.6883, allocations: 11.87 MB / 0.7198 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.624e-05/0.6884, allocations: 63.81 kB / 0.7198 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=193): time 4.268e-06/0.6884, allocations: 0 / 0.7198 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=254): time 0.3849/1.073, allocations: 38.48 MB / 0.7574 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.317e-05/1.073, allocations: 213.8 kB / 0.7576 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005268/1.079, allocations: 4.384 MB / 0.7619 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000725/1.079, allocations: 64.44 kB / 0.762 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001917/1.081, allocations: 3.565 MB / 0.7654 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001011/1.082, allocations: 0.998 MB / 0.7664 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001583/1.084, allocations: 1.374 MB / 0.7678 GB, free: 138.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.775e-05/1.084, allocations: 301.1 kB / 0.7681 GB, free: 138 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003658/1.088, allocations: 3.11 MB / 0.7711 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004798/1.092, allocations: 7.046 MB / 0.778 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009442/1.102, allocations: 10.96 MB / 0.7887 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.872e-05/1.102, allocations: 36 kB / 0.7887 GB, free: 113 MB / 0.5606 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02134/1.123, allocations: 12.65 MB / 0.8011 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.619e-05/1.123, allocations: 64 kB / 0.8011 GB, free: 100.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001163/1.123, allocations: 139.9 kB / 0.8013 GB, free: 100.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008103/1.132, allocations: 3.247 MB / 0.8044 GB, free: 96.92 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00467/1.136, allocations: 1.536 MB / 0.8059 GB, free: 95.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01924/1.155, allocations: 16.5 MB / 0.822 GB, free: 78.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005221/1.161, allocations: 435.4 kB / 0.8225 GB, free: 78.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001017/1.162, allocations: 408 kB / 0.8228 GB, free: 77.96 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (808): * Single equations (assignments): 804 * Array equations: 3 * 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 {(8,47,54.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003316/1.165, allocations: 2.337 MB / 0.8251 GB, free: 75.61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007756/1.166, allocations: 433.1 kB / 0.8255 GB, free: 75.18 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01297/1.179, allocations: 7.483 MB / 0.8328 GB, free: 67.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.312e-05/1.179, allocations: 28 kB / 0.8329 GB, free: 67.65 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.69e-05/1.179, allocations: 12 kB / 0.8329 GB, free: 67.64 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.105e-05/1.179, allocations: 11.95 kB / 0.8329 GB, free: 67.63 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.024/1.203, allocations: 14.97 MB / 0.8475 GB, free: 52.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.991e-05/1.203, allocations: 4 kB / 0.8475 GB, free: 52.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001951/1.205, allocations: 384.3 kB / 0.8479 GB, free: 52.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007676/1.213, allocations: 2.919 MB / 0.8507 GB, free: 49.33 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004343/1.213, allocations: 47.92 kB / 0.8508 GB, free: 49.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01699/1.23, allocations: 14.73 MB / 0.8652 GB, free: 34.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.23, allocations: 0 / 0.8652 GB, free: 34.44 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01679/1.247, allocations: 11.48 MB / 0.8764 GB, free: 22.88 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/1.248, allocations: 385 kB / 0.8767 GB, free: 22.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007898/1.249, allocations: 44 kB / 0.8768 GB, free: 22.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002122/1.251, allocations: 187.7 kB / 0.877 GB, free: 22.28 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005892/1.251, allocations: 153.7 kB / 0.8771 GB, free: 22.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001887/1.251, allocations: 67.36 kB / 0.8772 GB, free: 22.06 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00369/1.255, allocations: 2.746 MB / 0.8798 GB, free: 19.31 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.255, allocations: 0 / 0.8798 GB, free: 19.31 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00624/1.261, allocations: 1.293 MB / 0.8811 GB, free: 18.02 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (189): * Single equations (assignments): 185 * Array equations: 3 * 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 {(6,40,61.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01759/1.279, allocations: 12.14 MB / 0.893 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01228/1.291, allocations: 7.531 MB / 0.9003 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/1.291, allocations: 0 / 0.9003 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005493/1.297, allocations: 2.889 MB / 0.9031 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00359/1.3, allocations: 0.5048 MB / 0.9036 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1123/1.413, allocations: 60.76 MB / 0.963 GB, free: 7.84 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005072/1.418, allocations: 3.662 MB / 0.9665 GB, free: 4.148 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005085/1.423, allocations: 2.169 MB / 0.9687 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00403/1.427, allocations: 2.218 MB / 0.9708 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of SimCode: time 1.432e-06/1.427, allocations: 0 / 0.9708 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4491/1.876, allocations: 100.8 MB / 1.069 GB, free: 163.2 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.9/30.78, allocations: 11.53 kB / 1.069 GB, free: 163.2 MB / 0.6544 GB " [Timeout remaining time 629] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 33.82389137800783] Failed to read output from testmodel.py, exit status != 0: ['time', 'universal.phi_a', 'universal.phi_b', 'universal.w_a', 'universal.w_b'] 30.93326062615961 30.942137206 30.510924579 Calling exit ...