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.001414/0.001414, allocations: 112.2 kB / 21.18 MB, free: 0.6289 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.001487/0.001487, allocations: 207 kB / 24.48 MB, free: 4.035 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.419/1.419, allocations: 230.2 MB / 257.8 MB, free: 8.516 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.2305/0.2305, allocations: 46.89 MB / 361.1 MB, free: 4.645 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: translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2") [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.002617/0.002617, allocations: 75.88 kB / 0.4968 GB, free: 7.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.319, allocations: 65.98 MB / 0.5612 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01421/0.3332, allocations: 12.03 MB / 0.573 GB, free: 8.953 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009457/0.3427, allocations: 4.42 MB / 0.5773 GB, free: 4.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001762/0.3444, allocations: 71.81 kB / 0.5773 GB, free: 4.449 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005644/0.3501, allocations: 2.803 MB / 0.5801 GB, free: 1.637 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005714/0.3558, allocations: 2.058 MB / 0.5821 GB, free: 15.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002435/0.3582, allocations: 1.006 MB / 0.5831 GB, free: 14.56 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007848/0.3661, allocations: 5.365 MB / 0.5883 GB, free: 9.184 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003912/0.37, allocations: 2.628 MB / 0.5909 GB, free: 6.508 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002931/0.3729, allocations: 1.752 MB / 0.5926 GB, free: 4.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004238/0.3772, allocations: 2.644 MB / 0.5952 GB, free: 2.098 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009533/0.3781, allocations: 364 kB / 0.5955 GB, free: 1.742 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002812/0.3809, allocations: 1.455 MB / 0.5969 GB, free: 292 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002782/0.3837, allocations: 2.232 MB / 0.5991 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003864/0.3876, allocations: 2.481 MB / 0.6015 GB, free: 11.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01101/0.3986, allocations: 8.031 MB / 0.6094 GB, free: 3.488 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3986, allocations: 3.984 kB / 0.6094 GB, free: 3.484 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3986, allocations: 0 / 0.6094 GB, free: 3.484 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002474/0.3988, allocations: 0 / 0.6094 GB, free: 3.484 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.01536/0.4142, allocations: 5.877 MB / 0.6151 GB, free: 13.52 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.4143, allocations: 8.031 kB / 0.6151 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01793/0.4322, allocations: 2.622 MB / 0.6177 GB, free: 10.89 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008756/0.4409, allocations: 3.171 MB / 0.6208 GB, free: 7.656 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002643/0.4412, allocations: 258.8 kB / 0.621 GB, free: 7.402 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001219/0.4424, allocations: 351.9 kB / 0.6214 GB, free: 7.059 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02407/0.4665, allocations: 12.36 MB / 0.6335 GB, free: 9.883 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001778/0.4667, allocations: 55.52 kB / 0.6335 GB, free: 9.828 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000544/0.4672, allocations: 167.8 kB / 0.6337 GB, free: 9.664 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004099/0.4713, allocations: 2.369 MB / 0.636 GB, free: 7.289 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02241/0.4937, allocations: 10.84 MB / 0.6466 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07086/0.5646, allocations: 48.68 MB / 0.6941 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01646/0.5811, allocations: 5.806 MB / 0.6998 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00456/0.5856, allocations: 2.996 MB / 0.7027 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02391/0.6095, allocations: 13.52 MB / 0.7159 GB, free: 3.562 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.656e-05/0.6096, allocations: 59.81 kB / 0.716 GB, free: 3.496 MB / 0.545 GB Notification: Performance of pre-optimization done (n=204): time 7.795e-06/0.6096, allocations: 4 kB / 0.716 GB, free: 3.492 MB / 0.545 GB Notification: Performance of matching and sorting (n=265): time 0.4019/1.012, allocations: 36.52 MB / 0.7516 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.065e-05/1.012, allocations: 212.9 kB / 0.7518 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005487/1.017, allocations: 4.368 MB / 0.7561 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006527/1.018, allocations: 65.17 kB / 0.7562 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002016/1.02, allocations: 3.51 MB / 0.7596 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001155/1.021, allocations: 1.026 MB / 0.7606 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001727/1.023, allocations: 1.431 MB / 0.762 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.987e-05/1.023, allocations: 309.1 kB / 0.7623 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003649/1.026, allocations: 3.285 MB / 0.7655 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004807/1.031, allocations: 7.203 MB / 0.7725 GB, free: 132.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009905/1.041, allocations: 11.23 MB / 0.7835 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001147/1.041, allocations: 40 kB / 0.7835 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02297/1.064, allocations: 13.27 MB / 0.7965 GB, free: 105.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/1.064, allocations: 64 kB / 0.7966 GB, free: 105.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001409/1.064, allocations: 140 kB / 0.7967 GB, free: 105.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009345/1.074, allocations: 3.399 MB / 0.8 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005601/1.079, allocations: 1.579 MB / 0.8015 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02247/1.102, allocations: 17.54 MB / 0.8187 GB, free: 83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006058/1.108, allocations: 431.5 kB / 0.8191 GB, free: 82.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001395/1.109, allocations: 416 kB / 0.8195 GB, free: 82.17 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * 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 (841): * Single equations (assignments): 837 * 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 {(5,50,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004828/1.114, allocations: 2.347 MB / 0.8218 GB, free: 79.81 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001173/1.115, allocations: 424.6 kB / 0.8222 GB, free: 79.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01487/1.13, allocations: 7.967 MB / 0.83 GB, free: 71.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.58e-05/1.13, allocations: 11.95 kB / 0.83 GB, free: 71.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/1.13, allocations: 0 / 0.83 GB, free: 71.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001431/1.132, allocations: 478 kB / 0.8304 GB, free: 70.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001236/1.133, allocations: 47.91 kB / 0.8305 GB, free: 70.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002771/1.136, allocations: 187.7 kB / 0.8307 GB, free: 70.68 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006053/1.136, allocations: 197.7 kB / 0.8308 GB, free: 70.49 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01359/1.15, allocations: 7.859 MB / 0.8385 GB, free: 62.67 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01069/1.161, allocations: 9.196 MB / 0.8475 GB, free: 53.41 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002539/1.163, allocations: 2.362 MB / 0.8498 GB, free: 51.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005934/1.169, allocations: 2.729 MB / 0.8525 GB, free: 48.32 MB / 0.5606 GB Notification: Performance of Backend: time 1.202e-06/1.169, allocations: 0 / 0.8525 GB, free: 48.32 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01471/1.184, allocations: 5.822 MB / 0.8582 GB, free: 42.53 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02167/1.205, allocations: 10.99 MB / 0.8689 GB, free: 31.49 MB / 0.5606 GB Notification: Performance of Templates: time 0.1293/1.335, allocations: 72.73 MB / 0.9399 GB, free: 6.996 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.616171097848564] Failed to read output from testmodel.py, exit status != 0: ['time', 'universal.phi_a', 'universal.phi_b', 'universal.w_a', 'universal.w_b'] 1.3454560227692127 1.35920508 0.957194796 Calling exit ...