Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001384/0.001384, allocations: 122.9 kB / 17.84 MB, free: 5.223 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.001504/0.001504, allocations: 202.3 kB / 20.79 MB, free: 2.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 207.6 MB / 231.2 MB, free: 4.113 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3875/0.3875, allocations: 44.23 MB / 327.3 MB, free: 6.734 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.00376/0.00376, allocations: 67.91 kB / 462.9 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2985, allocations: 61.01 MB / 0.5116 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01082/0.3093, allocations: 13.37 MB / 0.5247 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01099/0.3203, allocations: 4.869 MB / 0.5295 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00353/0.3238, allocations: 99.56 kB / 0.5296 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008318/0.3321, allocations: 4.034 MB / 0.5335 GB, free: 8.508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007458/0.3396, allocations: 2.258 MB / 0.5357 GB, free: 6.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003546/0.3431, allocations: 1.185 MB / 0.5369 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009929/0.3531, allocations: 5.587 MB / 0.5423 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008399/0.3615, allocations: 4.346 MB / 0.5466 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005/0.3665, allocations: 2.22 MB / 0.5487 GB, free: 8.816 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006209/0.3727, allocations: 3.201 MB / 0.5518 GB, free: 5.605 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002245/0.3749, allocations: 0.5 MB / 0.5523 GB, free: 5.105 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004772/0.3797, allocations: 1.697 MB / 0.554 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004865/0.3846, allocations: 2.758 MB / 0.5567 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009329/0.3939, allocations: 3.1 MB / 0.5597 GB, free: 13.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01766/0.4115, allocations: 10.19 MB / 0.5697 GB, free: 3.297 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.4116, allocations: 0 / 0.5697 GB, free: 3.297 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.4116, allocations: 0 / 0.5697 GB, free: 3.297 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004066/0.412, allocations: 4 kB / 0.5697 GB, free: 3.293 MB / 430.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.02121/0.4332, allocations: 6.86 MB / 0.5764 GB, free: 12.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/0.4332, allocations: 11.89 kB / 0.5764 GB, free: 12.33 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002465/0.4335, allocations: 140.5 kB / 0.5765 GB, free: 12.19 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003449/0.4369, allocations: 0.9177 MB / 0.5774 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09042/0.5273, allocations: 7.441 MB / 0.5847 GB, free: 3.809 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0119/0.5392, allocations: 4.679 MB / 0.5892 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004946/0.5397, allocations: 353.7 kB / 0.5896 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002035/0.5418, allocations: 431.8 kB / 0.59 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03254/0.5743, allocations: 13.77 MB / 0.6034 GB, free: 15.67 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002488/0.5746, allocations: 59.52 kB / 0.6035 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00141/0.576, allocations: 211.8 kB / 0.6037 GB, free: 15.4 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004434/0.5804, allocations: 2.406 MB / 0.606 GB, free: 12.99 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02792/0.6083, allocations: 11.61 MB / 0.6174 GB, free: 1.367 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.3374/0.9457, allocations: 51.2 MB / 0.6674 GB, free: 86.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01239/0.9581, allocations: 4.485 MB / 0.6718 GB, free: 86.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003952/0.962, allocations: 2.587 MB / 0.6743 GB, free: 85.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01686/0.9789, allocations: 12.36 MB / 0.6864 GB, free: 78.47 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.9789, allocations: 50.81 kB / 0.6864 GB, free: 78.42 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=191): time 4.048e-06/0.9789, allocations: 0 / 0.6864 GB, free: 78.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=242): time 0.1423/1.121, allocations: 42.88 MB / 0.7283 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.227e-05/1.121, allocations: 235.6 kB / 0.7285 GB, free: 40.42 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005435/1.127, allocations: 4.838 MB / 0.7332 GB, free: 35.67 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000542/1.127, allocations: 61.7 kB / 0.7333 GB, free: 35.61 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001844/1.129, allocations: 4.07 MB / 0.7373 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009616/1.13, allocations: 0.9518 MB / 0.7382 GB, free: 30.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001663/1.132, allocations: 1.472 MB / 0.7396 GB, free: 29.39 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.692e-05/1.132, allocations: 305.1 kB / 0.7399 GB, free: 29.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003763/1.136, allocations: 3.258 MB / 0.7431 GB, free: 25.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005227/1.141, allocations: 7.548 MB / 0.7505 GB, free: 16.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01072/1.151, allocations: 11.6 MB / 0.7618 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000121/1.152, allocations: 44 kB / 0.7618 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.03277/1.184, allocations: 13.84 MB / 0.7754 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002235/1.185, allocations: 72 kB / 0.7754 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003188/1.185, allocations: 148 kB / 0.7756 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01347/1.198, allocations: 3.776 MB / 0.7793 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005997/1.204, allocations: 1.595 MB / 0.7808 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03338/1.238, allocations: 19.17 MB / 0.7995 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007153/1.245, allocations: 447.5 kB / 0.8 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002227/1.247, allocations: 436 kB / 0.8004 GB, free: 10.89 MB / 0.545 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.007641/1.255, allocations: 2.652 MB / 0.803 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001572/1.256, allocations: 464.8 kB / 0.8034 GB, free: 7.773 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02213/1.278, allocations: 8.107 MB / 0.8113 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.728e-05/1.279, allocations: 27.94 kB / 0.8114 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.052e-05/1.279, allocations: 12 kB / 0.8114 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.724e-05/1.279, allocations: 15.95 kB / 0.8114 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04369/1.322, allocations: 17.26 MB / 0.8282 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.294e-05/1.322, allocations: 0 / 0.8282 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002235/1.325, allocations: 387.4 kB / 0.8286 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01352/1.338, allocations: 3.835 MB / 0.8324 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007994/1.339, allocations: 47.98 kB / 0.8324 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03053/1.369, allocations: 17.53 MB / 0.8495 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.215e-06/1.369, allocations: 7.938 kB / 0.8495 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02728/1.397, allocations: 12.52 MB / 0.8618 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002726/1.399, allocations: 0.9508 MB / 0.8627 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009383/1.4, allocations: 39.94 kB / 0.8627 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002485/1.403, allocations: 203.7 kB / 0.8629 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007029/1.404, allocations: 150.3 kB / 0.8631 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002238/1.404, allocations: 59.98 kB / 0.8631 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00613/1.41, allocations: 3.023 MB / 0.8661 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/1.41, allocations: 0 / 0.8661 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.009572/1.42, allocations: 1.453 MB / 0.8675 GB, free: 5.895 MB / 0.6075 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.02911/1.449, allocations: 13.21 MB / 0.8804 GB, free: 8.648 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.014/1.463, allocations: 7.573 MB / 0.8878 GB, free: 1.098 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/1.463, allocations: 4 kB / 0.8878 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.2622/1.725, allocations: 2.73 MB / 0.8905 GB, free: 235.2 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003311/1.728, allocations: 0.5441 MB / 0.891 GB, free: 235.2 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09847/1.827, allocations: 66.1 MB / 0.9555 GB, free: 181.7 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005074/1.832, allocations: 4.111 MB / 0.9596 GB, free: 177.6 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.004572/1.836, allocations: 2.175 MB / 0.9617 GB, free: 175.4 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003699/1.84, allocations: 2.487 MB / 0.9641 GB, free: 172.9 MB / 0.6231 GB Notification: Performance of SimCode: time 1.333e-06/1.84, allocations: 4 kB / 0.9641 GB, free: 172.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1493/1.989, allocations: 103.9 MB / 1.066 GB, free: 68.88 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 33.56/35.55, allocations: 7.969 kB / 1.066 GB, free: 68.87 MB / 0.6231 GB " [Timeout remaining time 624] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP2_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 38.76220692700008] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute.phi', 'revolute.w'] 35.75609355000779 35.77202079 35.356585735 Calling exit ...