Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001368/0.001368, allocations: 117 kB / 18.49 MB, free: 4.566 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.001725/0.001725, allocations: 216.7 kB / 21.46 MB, free: 1.613 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.552/1.552, allocations: 230.4 MB / 254.7 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2448/0.2448, allocations: 46.92 MB / 357.7 MB, free: 10.18 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002626/0.002626, allocations: 87.86 kB / 0.4917 GB, free: 7.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1658, allocations: 66.04 MB / 0.5562 GB, free: 5.523 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01773/0.1835, allocations: 13.28 MB / 0.5691 GB, free: 8.168 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01234/0.1958, allocations: 4.883 MB / 0.5739 GB, free: 3.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002824/0.1987, allocations: 95.56 kB / 0.574 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008625/0.2073, allocations: 4.018 MB / 0.5779 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006804/0.2141, allocations: 2.233 MB / 0.5801 GB, free: 12.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003196/0.2173, allocations: 1.175 MB / 0.5813 GB, free: 11.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009347/0.2266, allocations: 5.824 MB / 0.5869 GB, free: 5.895 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007274/0.2339, allocations: 4.343 MB / 0.5912 GB, free: 1.484 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3701/0.604, allocations: 2.191 MB / 0.5933 GB, free: 8.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007289/0.6113, allocations: 3.188 MB / 0.5964 GB, free: 8.758 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002777/0.6141, allocations: 0.4999 MB / 0.5969 GB, free: 8.758 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006309/0.6204, allocations: 1.684 MB / 0.5986 GB, free: 8.758 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006057/0.6265, allocations: 2.728 MB / 0.6012 GB, free: 8.449 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009292/0.6357, allocations: 3.074 MB / 0.6042 GB, free: 7.426 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02008/0.6558, allocations: 10.11 MB / 0.6141 GB, free: 5.516 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.6558, allocations: 1.219 kB / 0.6141 GB, free: 5.516 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6558, allocations: 0 / 0.6141 GB, free: 5.516 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000406/0.6562, allocations: 1.031 kB / 0.6141 GB, free: 5.516 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.02859/0.6848, allocations: 6.804 MB / 0.6208 GB, free: 1.789 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.165e-05/0.6849, allocations: 12.8 kB / 0.6208 GB, free: 1.785 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003792/0.6853, allocations: 136 kB / 0.6209 GB, free: 1.773 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005651/0.6909, allocations: 0.9185 MB / 0.6218 GB, free: 1.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0913/0.7822, allocations: 7.445 MB / 0.6291 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0127/0.7949, allocations: 4.162 MB / 0.6331 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000429/0.7954, allocations: 349.7 kB / 0.6335 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0025/0.7979, allocations: 433.3 kB / 0.6339 GB, free: 11.59 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03652/0.8344, allocations: 13.77 MB / 0.6473 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002933/0.8347, allocations: 63.05 kB / 0.6474 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00184/0.8365, allocations: 198.5 kB / 0.6476 GB, free: 14.91 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004687/0.8412, allocations: 2.409 MB / 0.6499 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0299/0.8711, allocations: 11.62 MB / 0.6613 GB, free: 1.137 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.0835/0.9546, allocations: 51.16 MB / 0.7112 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01406/0.9687, allocations: 4.509 MB / 0.7156 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0046/0.9733, allocations: 2.585 MB / 0.7182 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02364/0.9969, allocations: 12.43 MB / 0.7303 GB, free: 9.074 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.88e-05/0.997, allocations: 51.88 kB / 0.7303 GB, free: 9.016 MB / 0.545 GB Notification: Performance of pre-optimization done (n=191): time 5.08e-06/0.997, allocations: 0 / 0.7303 GB, free: 9.016 MB / 0.545 GB Notification: Performance of matching and sorting (n=242): time 0.1644/1.161, allocations: 42.57 MB / 0.7719 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001569/1.162, allocations: 238.8 kB / 0.7721 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008578/1.17, allocations: 4.802 MB / 0.7768 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0008812/1.171, allocations: 61.7 kB / 0.7769 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003692/1.175, allocations: 4.053 MB / 0.7809 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0015/1.176, allocations: 0.9575 MB / 0.7818 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002635/1.179, allocations: 1.461 MB / 0.7832 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001376/1.179, allocations: 313.1 kB / 0.7835 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005834/1.185, allocations: 3.254 MB / 0.7867 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01072/1.195, allocations: 7.556 MB / 0.7941 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01861/1.214, allocations: 11.61 MB / 0.8054 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000175/1.214, allocations: 40 kB / 0.8054 GB, free: 8.402 MB / 0.6231 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.03614/1.25, allocations: 13.83 MB / 0.8189 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/1.251, allocations: 68 kB / 0.819 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001944/1.251, allocations: 152 kB / 0.8192 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01313/1.264, allocations: 3.782 MB / 0.8228 GB, free: 6.555 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006223/1.27, allocations: 1.602 MB / 0.8244 GB, free: 4.949 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03229/1.302, allocations: 19.17 MB / 0.8431 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006877/1.309, allocations: 447.5 kB / 0.8436 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001635/1.311, allocations: 436 kB / 0.844 GB, free: 0.7734 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.2779/1.589, allocations: 2.644 MB / 0.8466 GB, free: 229.1 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001313/1.59, allocations: 457.1 kB / 0.847 GB, free: 229.1 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02094/1.611, allocations: 8.105 MB / 0.8549 GB, free: 228.9 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.1e-05/1.611, allocations: 26.67 kB / 0.8549 GB, free: 228.9 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.008e-05/1.611, allocations: 11.47 kB / 0.8549 GB, free: 228.9 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.965e-05/1.611, allocations: 12.56 kB / 0.855 GB, free: 228.9 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03614/1.647, allocations: 17.27 MB / 0.8718 GB, free: 223 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.153e-05/1.647, allocations: 0 / 0.8718 GB, free: 223 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002493/1.65, allocations: 395.1 kB / 0.8722 GB, free: 222.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0114/1.661, allocations: 3.827 MB / 0.8759 GB, free: 222.3 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005361/1.662, allocations: 43.58 kB / 0.876 GB, free: 222.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02058/1.682, allocations: 17.53 MB / 0.8931 GB, free: 211 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/1.682, allocations: 3.938 kB / 0.8931 GB, free: 211 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02084/1.703, allocations: 12.53 MB / 0.9053 GB, free: 198.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001317/1.705, allocations: 485.5 kB / 0.9058 GB, free: 198.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008564/1.705, allocations: 43.94 kB / 0.9058 GB, free: 198.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002378/1.708, allocations: 207.7 kB / 0.906 GB, free: 198.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006533/1.708, allocations: 149.4 kB / 0.9062 GB, free: 198.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002004/1.709, allocations: 62.81 kB / 0.9062 GB, free: 198 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00466/1.713, allocations: 2.998 MB / 0.9092 GB, free: 195 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.3e-07/1.713, allocations: 0 / 0.9092 GB, free: 195 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.006968/1.72, allocations: 1.423 MB / 0.9106 GB, free: 193.6 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.02093/1.741, allocations: 13.23 MB / 0.9235 GB, free: 180.4 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01175/1.753, allocations: 7.585 MB / 0.9309 GB, free: 172.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.29e-05/1.753, allocations: 5.938 kB / 0.9309 GB, free: 172.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.004116/1.757, allocations: 2.732 MB / 0.9336 GB, free: 170.1 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004036/1.761, allocations: 0.5399 MB / 0.9341 GB, free: 169.6 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1059/1.867, allocations: 65.93 MB / 0.9985 GB, free: 97.14 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005609/1.873, allocations: 4.09 MB / 1.002 GB, free: 93.04 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004545/1.877, allocations: 2.175 MB / 1.005 GB, free: 90.86 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003506/1.881, allocations: 2.479 MB / 1.007 GB, free: 88.38 MB / 0.6544 GB Notification: Performance of SimCode: time 1.392e-06/1.881, allocations: 0 / 1.007 GB, free: 88.38 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4363/2.317, allocations: 103.4 MB / 1.108 GB, free: 224.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.76/34.07, allocations: 9.828 kB / 1.108 GB, free: 224.8 MB / 0.6544 GB " [Timeout remaining time 626] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP2_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 37.655690841027535] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute.phi', 'revolute.w'] 34.31267533998471 34.322585566 33.664196652 Calling exit ...