Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP2.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.001788/0.001788, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002428/0.002428, allocations: 212 kB / 24.54 MB, free: 4.016 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.538/1.538, 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.2307/0.2307, allocations: 46.92 MB / 361.6 MB, free: 4.316 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.JointUSP2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointUSP2",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.002308/0.002308, allocations: 79.86 kB / 0.497 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3409, allocations: 66.08 MB / 0.5615 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.0156/0.3565, allocations: 13.34 MB / 0.5745 GB, free: 6.914 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01297/0.3695, allocations: 4.903 MB / 0.5793 GB, free: 2 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002638/0.3721, allocations: 99.56 kB / 0.5794 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007803/0.3799, allocations: 4.038 MB / 0.5834 GB, free: 13.85 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006063/0.386, allocations: 2.233 MB / 0.5855 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002899/0.3889, allocations: 1.185 MB / 0.5867 GB, free: 10.42 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008916/0.3978, allocations: 5.83 MB / 0.5924 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006816/0.4046, allocations: 4.029 MB / 0.5963 GB, free: 496 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004045/0.4087, allocations: 2.208 MB / 0.5985 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005054/0.4137, allocations: 3.186 MB / 0.6016 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001552/0.4153, allocations: 0.5 MB / 0.6021 GB, free: 10.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003613/0.4189, allocations: 1.693 MB / 0.6037 GB, free: 8.879 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003421/0.4223, allocations: 2.723 MB / 0.6064 GB, free: 6.148 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004313/0.4266, allocations: 3.073 MB / 0.6094 GB, free: 3.059 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01292/0.4395, allocations: 10.11 MB / 0.6193 GB, free: 8.906 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.4396, allocations: 0 / 0.6193 GB, free: 8.906 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4396, allocations: 4 kB / 0.6193 GB, free: 8.902 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003667/0.4399, allocations: 0 / 0.6193 GB, free: 8.902 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.0194/0.4593, allocations: 6.734 MB / 0.6259 GB, free: 2.098 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.4594, allocations: 8.031 kB / 0.6259 GB, free: 2.09 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002766/0.4621, allocations: 0.9177 MB / 0.6268 GB, free: 1.16 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07415/0.5363, allocations: 7.448 MB / 0.634 GB, free: 9.699 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01054/0.5468, allocations: 4.06 MB / 0.638 GB, free: 5.582 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004682/0.5473, allocations: 379.7 kB / 0.6384 GB, free: 5.195 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001992/0.5493, allocations: 435.7 kB / 0.6388 GB, free: 4.77 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02962/0.5789, allocations: 13.78 MB / 0.6522 GB, free: 6.137 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002146/0.5791, allocations: 55.56 kB / 0.6523 GB, free: 6.082 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009655/0.5801, allocations: 199.8 kB / 0.6525 GB, free: 5.887 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00401/0.5841, allocations: 2.406 MB / 0.6548 GB, free: 3.477 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0251/0.6092, allocations: 11.63 MB / 0.6662 GB, free: 7.832 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07109/0.6803, allocations: 51.01 MB / 0.716 GB, free: 3.332 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01249/0.6928, allocations: 4.037 MB / 0.7199 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004086/0.6969, allocations: 2.581 MB / 0.7225 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01962/0.7165, allocations: 10.31 MB / 0.7325 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.937e-05/0.7166, allocations: 59.8 kB / 0.7326 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=191): time 7.013e-06/0.7166, allocations: 0 / 0.7326 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of matching and sorting (n=242): time 0.4106/1.127, allocations: 42.25 MB / 0.7738 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/1.127, allocations: 231.6 kB / 0.7741 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006998/1.134, allocations: 4.806 MB / 0.7788 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009531/1.135, allocations: 61.7 kB / 0.7788 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002787/1.138, allocations: 4.052 MB / 0.7828 GB, free: 121 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001133/1.139, allocations: 0.9537 MB / 0.7837 GB, free: 120 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001929/1.141, allocations: 1.465 MB / 0.7851 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.788e-05/1.141, allocations: 309.2 kB / 0.7854 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003906/1.145, allocations: 3.258 MB / 0.7886 GB, free: 115 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006216/1.151, allocations: 7.551 MB / 0.796 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01103/1.162, allocations: 11.61 MB / 0.8073 GB, free: 91.61 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001033/1.162, allocations: 44 kB / 0.8074 GB, free: 91.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.02475/1.187, allocations: 13.84 MB / 0.8209 GB, free: 77.72 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000108/1.187, allocations: 68 kB / 0.8209 GB, free: 77.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000161/1.187, allocations: 152 kB / 0.8211 GB, free: 77.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01049/1.198, allocations: 3.775 MB / 0.8248 GB, free: 73.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004962/1.203, allocations: 1.599 MB / 0.8263 GB, free: 72.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02208/1.225, allocations: 19.06 MB / 0.8449 GB, free: 52.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005594/1.231, allocations: 459.5 kB / 0.8454 GB, free: 52.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/1.232, allocations: 436 kB / 0.8458 GB, free: 52.07 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (857): * Single equations (assignments): 853 * 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 {(2,58,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00354/1.235, allocations: 2.653 MB / 0.8484 GB, free: 49.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007815/1.236, allocations: 453 kB / 0.8488 GB, free: 48.96 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01549/1.251, allocations: 8.098 MB / 0.8567 GB, free: 40.83 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.821e-05/1.251, allocations: 28 kB / 0.8568 GB, free: 40.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/1.251, allocations: 12 kB / 0.8568 GB, free: 40.79 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.899e-05/1.251, allocations: 7.969 kB / 0.8568 GB, free: 40.79 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02939/1.281, allocations: 17.24 MB / 0.8736 GB, free: 23.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.432e-05/1.281, allocations: 4 kB / 0.8736 GB, free: 23.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001978/1.283, allocations: 391.4 kB / 0.874 GB, free: 23.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01031/1.293, allocations: 3.839 MB / 0.8777 GB, free: 19.29 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004479/1.294, allocations: 43.98 kB / 0.8778 GB, free: 19.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02101/1.315, allocations: 17.43 MB / 0.8948 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.315, allocations: 4.031 kB / 0.8948 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0256/1.34, allocations: 12.52 MB / 0.907 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/1.341, allocations: 400.8 kB / 0.9074 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000808/1.342, allocations: 44.05 kB / 0.9075 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00236/1.345, allocations: 211.7 kB / 0.9077 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006385/1.345, allocations: 154.1 kB / 0.9078 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002279/1.345, allocations: 63.75 kB / 0.9079 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005402/1.351, allocations: 2.998 MB / 0.9108 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.41e-07/1.351, allocations: 0 / 0.9108 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00694/1.358, allocations: 1.43 MB / 0.9122 GB, free: 15.86 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.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 (167): * Single equations (assignments): 163 * 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 {(2,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02692/1.385, allocations: 13.23 MB / 0.9251 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01458/1.399, allocations: 7.598 MB / 0.9325 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.399, allocations: 4 kB / 0.9325 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.005105/1.404, allocations: 2.733 MB / 0.9352 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003492/1.408, allocations: 0.53 MB / 0.9357 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4037/1.812, allocations: 66.03 MB / 1 GB, free: 218.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004512/1.816, allocations: 4.092 MB / 1.004 GB, free: 217.4 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004798/1.821, allocations: 2.174 MB / 1.006 GB, free: 217.3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003253/1.824, allocations: 2.486 MB / 1.009 GB, free: 215.2 MB / 0.6544 GB Notification: Performance of SimCode: time 1.442e-06/1.824, allocations: 0 / 1.009 GB, free: 215.2 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1441/1.968, allocations: 109.7 MB / 1.116 GB, free: 107 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.24/34.21, allocations: 7.469 kB / 1.116 GB, free: 107 MB / 0.6544 GB " [Timeout remaining time 626] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP2_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079952 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointUSP2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 37.41320348903537] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute.phi', 'revolute.w'] 34.367807283997536 34.378936777 33.936465808 Calling exit ...