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.001252/0.001252, allocations: 122.6 kB / 18.5 MB, free: 4.578 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.001366/0.001366, allocations: 206.6 kB / 21.45 MB, free: 1.629 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 / 254.7 MB, free: 15.16 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.2502/0.2502, allocations: 46.93 MB / 357.7 MB, free: 10.22 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.002288/0.002288, allocations: 79.86 kB / 0.4917 GB, free: 7.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1547, allocations: 66.04 MB / 0.5562 GB, free: 5.578 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01794/0.1727, allocations: 13.3 MB / 0.5692 GB, free: 8.203 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01212/0.1848, allocations: 4.88 MB / 0.5739 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003247/0.188, allocations: 95.56 kB / 0.574 GB, free: 3.215 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008445/0.1965, allocations: 4.014 MB / 0.5779 GB, free: 15.19 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007466/0.2039, allocations: 2.233 MB / 0.5801 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003578/0.2075, allocations: 1.181 MB / 0.5813 GB, free: 11.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01064/0.2181, allocations: 5.823 MB / 0.587 GB, free: 5.934 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009567/0.2277, allocations: 4.331 MB / 0.5912 GB, free: 1.535 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3398/0.5675, allocations: 2.193 MB / 0.5933 GB, free: 8.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008196/0.5757, allocations: 3.191 MB / 0.5964 GB, free: 8.809 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003343/0.579, allocations: 0.5015 MB / 0.5969 GB, free: 8.809 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006604/0.5856, allocations: 1.687 MB / 0.5986 GB, free: 8.809 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006655/0.5923, allocations: 2.719 MB / 0.6012 GB, free: 8.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009975/0.6023, allocations: 3.075 MB / 0.6042 GB, free: 7.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01895/0.6212, allocations: 10.11 MB / 0.6141 GB, free: 5.547 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.6212, allocations: 0 / 0.6141 GB, free: 5.547 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.178e-06/0.6212, allocations: 0.5938 kB / 0.6141 GB, free: 5.547 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000503/0.6217, allocations: 1.219 kB / 0.6141 GB, free: 5.547 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.03107/0.6528, allocations: 6.809 MB / 0.6208 GB, free: 1.848 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.6528, allocations: 9.312 kB / 0.6208 GB, free: 1.848 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003937/0.6568, allocations: 0.92 MB / 0.6217 GB, free: 1.254 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09104/0.7478, allocations: 7.443 MB / 0.6289 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01219/0.76, allocations: 4.164 MB / 0.633 GB, free: 11.9 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004164/0.7604, allocations: 350.7 kB / 0.6333 GB, free: 11.76 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002946/0.7634, allocations: 433 kB / 0.6338 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03371/0.7971, allocations: 13.78 MB / 0.6472 GB, free: 15.31 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001942/0.7973, allocations: 61.3 kB / 0.6473 GB, free: 15.27 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008942/0.7982, allocations: 201.4 kB / 0.6475 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004256/0.8024, allocations: 2.407 MB / 0.6498 GB, free: 12.75 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0282/0.8306, allocations: 11.61 MB / 0.6612 GB, free: 1.355 MB / 478.1 MB 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.08313/0.9138, allocations: 51.16 MB / 0.7111 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0142/0.928, allocations: 4.505 MB / 0.7155 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004411/0.9324, allocations: 2.581 MB / 0.718 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02144/0.9538, allocations: 12.44 MB / 0.7302 GB, free: 9.289 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.412e-05/0.9539, allocations: 52.88 kB / 0.7302 GB, free: 9.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=191): time 5.06e-06/0.9539, allocations: 0 / 0.7302 GB, free: 9.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=242): time 0.1655/1.119, allocations: 42.56 MB / 0.7718 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001784/1.12, allocations: 234.3 kB / 0.772 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009094/1.129, allocations: 4.799 MB / 0.7767 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0007776/1.129, allocations: 64.67 kB / 0.7768 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.004005/1.133, allocations: 4.05 MB / 0.7807 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001632/1.135, allocations: 0.954 MB / 0.7816 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002967/1.138, allocations: 1.471 MB / 0.7831 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.138, allocations: 309 kB / 0.7834 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006198/1.144, allocations: 3.261 MB / 0.7866 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01129/1.156, allocations: 7.554 MB / 0.7939 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01657/1.172, allocations: 11.6 MB / 0.8053 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001278/1.172, allocations: 48 kB / 0.8053 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.03636/1.209, allocations: 13.83 MB / 0.8188 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002287/1.209, allocations: 75.94 kB / 0.8189 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000271/1.209, allocations: 148 kB / 0.819 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.014/1.223, allocations: 3.776 MB / 0.8227 GB, free: 6.777 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006757/1.23, allocations: 1.602 MB / 0.8243 GB, free: 5.172 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03377/1.264, allocations: 19.18 MB / 0.843 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006937/1.271, allocations: 451.5 kB / 0.8434 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001738/1.272, allocations: 430.5 kB / 0.8439 GB, free: 0.9922 MB / 0.6544 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.3051/1.577, allocations: 2.652 MB / 0.8464 GB, free: 228.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001303/1.579, allocations: 453.2 kB / 0.8469 GB, free: 228.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02136/1.6, allocations: 8.102 MB / 0.8548 GB, free: 228.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-05/1.6, allocations: 25.97 kB / 0.8548 GB, free: 228.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-05/1.6, allocations: 12.09 kB / 0.8548 GB, free: 228.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.959e-05/1.6, allocations: 11.28 kB / 0.8548 GB, free: 228.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03566/1.636, allocations: 17.27 MB / 0.8717 GB, free: 222.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.595e-05/1.636, allocations: 3.812 kB / 0.8717 GB, free: 222.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002144/1.638, allocations: 396.1 kB / 0.8721 GB, free: 222.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01158/1.65, allocations: 3.828 MB / 0.8758 GB, free: 221.9 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008124/1.651, allocations: 44.58 kB / 0.8759 GB, free: 221.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02283/1.673, allocations: 17.53 MB / 0.893 GB, free: 211.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.673, allocations: 3.938 kB / 0.893 GB, free: 211.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02107/1.694, allocations: 12.53 MB / 0.9052 GB, free: 198.9 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001944/1.696, allocations: 489.4 kB / 0.9057 GB, free: 198.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009685/1.697, allocations: 43.56 kB / 0.9057 GB, free: 198.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002252/1.7, allocations: 207.7 kB / 0.9059 GB, free: 198.4 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006099/1.7, allocations: 149.9 kB / 0.9061 GB, free: 198.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002177/1.7, allocations: 63.05 kB / 0.9061 GB, free: 198.2 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.004353/1.705, allocations: 3 MB / 0.9091 GB, free: 195.2 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.7e-07/1.705, allocations: 0 / 0.9091 GB, free: 195.2 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00685/1.712, allocations: 1.423 MB / 0.9104 GB, free: 193.8 MB / 0.6544 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.02119/1.733, allocations: 13.23 MB / 0.9234 GB, free: 180.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01279/1.746, allocations: 7.593 MB / 0.9308 GB, free: 173 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.746, allocations: 0 / 0.9308 GB, free: 173 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.004055/1.75, allocations: 2.734 MB / 0.9335 GB, free: 170.2 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004245/1.754, allocations: 0.5282 MB / 0.934 GB, free: 169.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1059/1.86, allocations: 65.93 MB / 0.9984 GB, free: 97.3 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005876/1.866, allocations: 4.098 MB / 1.002 GB, free: 93.18 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004774/1.871, allocations: 2.179 MB / 1.004 GB, free: 91 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00362/1.874, allocations: 2.475 MB / 1.007 GB, free: 88.52 MB / 0.6544 GB Notification: Performance of SimCode: time 1.463e-06/1.874, allocations: 0 / 1.007 GB, free: 88.52 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4799/2.354, allocations: 103.4 MB / 1.108 GB, free: 224.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.03/34.38, allocations: 2.109 kB / 1.108 GB, free: 224.9 MB / 0.6544 GB " [Timeout remaining time 625] (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.79823612002656] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute.phi', 'revolute.w'] 34.52579946536571 34.537182305 33.913161347 Calling exit ...