Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 121 kB / 18.5 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 213.5 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2318/0.2318, allocations: 44.9 MB / 355.8 MB, free: 12.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 75.83 kB / 0.4886 GB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1264, allocations: 65.41 MB / 0.5524 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01563/0.142, allocations: 13.3 MB / 0.5654 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01073/0.1527, allocations: 4.88 MB / 0.5702 GB, free: 7.852 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002313/0.155, allocations: 99.56 kB / 0.5703 GB, free: 7.754 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007818/0.1629, allocations: 4.022 MB / 0.5742 GB, free: 3.719 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005976/0.1688, allocations: 2.226 MB / 0.5764 GB, free: 1.484 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002933/0.1718, allocations: 1.178 MB / 0.5775 GB, free: 312 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008808/0.1806, allocations: 5.825 MB / 0.5832 GB, free: 10.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006971/0.1875, allocations: 4.335 MB / 0.5875 GB, free: 6.066 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004474/0.192, allocations: 2.2 MB / 0.5896 GB, free: 3.859 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005654/0.1977, allocations: 3.182 MB / 0.5927 GB, free: 0.668 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002099/0.1998, allocations: 0.5039 MB / 0.5932 GB, free: 168 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2774/0.4772, allocations: 1.68 MB / 0.5949 GB, free: 12.44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004737/0.4819, allocations: 2.721 MB / 0.5975 GB, free: 12.44 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005885/0.4878, allocations: 3.076 MB / 0.6005 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01534/0.5032, allocations: 10.11 MB / 0.6104 GB, free: 10.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.5032, allocations: 0.5625 kB / 0.6104 GB, free: 10.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.5032, allocations: 0.7188 kB / 0.6104 GB, free: 10.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003943/0.5036, allocations: 0 / 0.6104 GB, free: 10.03 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.02521/0.5288, allocations: 6.805 MB / 0.617 GB, free: 6.887 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.5288, allocations: 11 kB / 0.6171 GB, free: 6.887 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003438/0.5292, allocations: 136.6 kB / 0.6172 GB, free: 6.875 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004128/0.5333, allocations: 0.9185 MB / 0.6181 GB, free: 6.457 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08948/0.6228, allocations: 7.44 MB / 0.6253 GB, free: 4.391 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01183/0.6346, allocations: 4.161 MB / 0.6294 GB, free: 2.027 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002928/0.6349, allocations: 358.2 kB / 0.6297 GB, free: 1.879 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001871/0.6368, allocations: 427.5 kB / 0.6302 GB, free: 1.777 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03013/0.6669, allocations: 13.78 MB / 0.6436 GB, free: 7.207 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001848/0.6671, allocations: 58.06 kB / 0.6437 GB, free: 7.176 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008613/0.668, allocations: 201.5 kB / 0.6439 GB, free: 7.023 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004174/0.6721, allocations: 2.412 MB / 0.6462 GB, free: 4.645 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02806/0.7002, allocations: 11.61 MB / 0.6576 GB, free: 9.246 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.07727/0.7775, allocations: 51.16 MB / 0.7075 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01368/0.7911, allocations: 4.499 MB / 0.7119 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004322/0.7955, allocations: 2.586 MB / 0.7144 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0211/0.8166, allocations: 12.44 MB / 0.7266 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.913e-05/0.8166, allocations: 59.86 kB / 0.7266 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=191): time 4.869e-06/0.8166, allocations: 0 / 0.7266 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of matching and sorting (n=242): time 0.1637/0.9803, allocations: 42.56 MB / 0.7682 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001578/0.9805, allocations: 231.1 kB / 0.7684 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007853/0.9884, allocations: 4.81 MB / 0.7731 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0006192/0.989, allocations: 57.7 kB / 0.7732 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.003535/0.9925, allocations: 4.06 MB / 0.7771 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00159/0.9941, allocations: 0.9586 MB / 0.7781 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0025/0.9966, allocations: 1.465 MB / 0.7795 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.9967, allocations: 301.1 kB / 0.7798 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006022/1.003, allocations: 3.262 MB / 0.783 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01051/1.013, allocations: 7.555 MB / 0.7904 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01676/1.03, allocations: 11.6 MB / 0.8017 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001422/1.03, allocations: 44 kB / 0.8017 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.03399/1.064, allocations: 13.84 MB / 0.8152 GB, free: 2.82 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.000327/1.064, allocations: 74.5 kB / 0.8153 GB, free: 2.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003258/1.065, allocations: 152.2 kB / 0.8154 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01334/1.078, allocations: 3.771 MB / 0.8191 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00653/1.085, allocations: 1.602 MB / 0.8207 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3035/1.388, allocations: 19.17 MB / 0.8394 GB, free: 214.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006305/1.394, allocations: 456.2 kB / 0.8398 GB, free: 214.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001582/1.396, allocations: 433.9 kB / 0.8403 GB, free: 214.3 MB / 0.6387 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.006033/1.402, allocations: 2.652 MB / 0.8428 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001012/1.403, allocations: 453.3 kB / 0.8433 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01866/1.422, allocations: 8.107 MB / 0.8512 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.614e-05/1.422, allocations: 27.36 kB / 0.8512 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.092e-05/1.422, allocations: 11.84 kB / 0.8512 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.991e-05/1.422, allocations: 8.625 kB / 0.8512 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03207/1.454, allocations: 17.27 MB / 0.8681 GB, free: 205.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.874e-05/1.454, allocations: 7.781 kB / 0.8681 GB, free: 205.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002017/1.456, allocations: 394.1 kB / 0.8685 GB, free: 205.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01128/1.467, allocations: 3.831 MB / 0.8722 GB, free: 204.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006528/1.468, allocations: 51.48 kB / 0.8723 GB, free: 204.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02091/1.489, allocations: 17.53 MB / 0.8894 GB, free: 189.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.489, allocations: 4 kB / 0.8894 GB, free: 189.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0213/1.51, allocations: 12.52 MB / 0.9016 GB, free: 177.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001423/1.512, allocations: 493.2 kB / 0.9021 GB, free: 176.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001073/1.513, allocations: 34.52 kB / 0.9021 GB, free: 176.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00251/1.515, allocations: 211.6 kB / 0.9023 GB, free: 176.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006629/1.516, allocations: 146.2 kB / 0.9025 GB, free: 176.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002049/1.516, allocations: 60.84 kB / 0.9025 GB, free: 176.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004421/1.52, allocations: 3.002 MB / 0.9055 GB, free: 173.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9.1e-08/1.52, allocations: 0 / 0.9055 GB, free: 173.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.006823/1.527, allocations: 1.42 MB / 0.9069 GB, free: 172.1 MB / 0.6387 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.02161/1.549, allocations: 13.24 MB / 0.9198 GB, free: 158.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01121/1.56, allocations: 7.591 MB / 0.9272 GB, free: 151.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/1.56, allocations: 0 / 0.9272 GB, free: 151.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003913/1.564, allocations: 2.73 MB / 0.9299 GB, free: 148.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00369/1.568, allocations: 0.5441 MB / 0.9304 GB, free: 148 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1065/1.674, allocations: 65.93 MB / 0.9948 GB, free: 75.61 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004279/1.678, allocations: 4.089 MB / 0.9988 GB, free: 71.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004506/1.683, allocations: 2.176 MB / 1.001 GB, free: 69.32 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003186/1.686, allocations: 2.483 MB / 1.003 GB, free: 66.83 MB / 0.6387 GB Notification: Performance of SimCode: time 1.102e-06/1.686, allocations: 0 / 1.003 GB, free: 66.83 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4182/2.104, allocations: 103.5 MB / 1.104 GB, free: 220.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.66/34.77, allocations: 8.641 kB / 1.104 GB, free: 220.7 MB / 0.6544 GB " [Timeout remaining time 625] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP2_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 38.075510824040975] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute.phi', 'revolute.w'] 34.97226759203477 34.989170687 34.482781739 Calling exit ...