Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001641/0.001641, allocations: 113 kB / 18.49 MB, free: 4.539 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.001935/0.001935, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.571/1.571, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2422/0.2422, allocations: 46.93 MB / 357.8 MB, free: 10.29 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+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_1_0_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 63.89 kB / 0.4916 GB, free: 7.922 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1384, allocations: 65.99 MB / 0.5561 GB, free: 5.801 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01794/0.1563, allocations: 13.29 MB / 0.5691 GB, free: 8.441 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01267/0.169, allocations: 4.88 MB / 0.5738 GB, free: 3.547 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003597/0.1726, allocations: 95.56 kB / 0.5739 GB, free: 3.453 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00887/0.1814, allocations: 4.022 MB / 0.5778 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007574/0.189, allocations: 2.237 MB / 0.58 GB, free: 13.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003896/0.1929, allocations: 1.174 MB / 0.5812 GB, free: 12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01202/0.2049, allocations: 5.83 MB / 0.5869 GB, free: 6.156 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01047/0.2154, allocations: 4.32 MB / 0.5911 GB, free: 1.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3177/0.5331, allocations: 2.206 MB / 0.5932 GB, free: 8.801 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006338/0.5394, allocations: 3.186 MB / 0.5963 GB, free: 8.789 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002951/0.5424, allocations: 0.4988 MB / 0.5968 GB, free: 8.789 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006207/0.5486, allocations: 1.687 MB / 0.5985 GB, free: 8.789 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006194/0.5548, allocations: 2.719 MB / 0.6011 GB, free: 8.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008294/0.5631, allocations: 3.074 MB / 0.6041 GB, free: 7.461 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0158/0.5789, allocations: 10.11 MB / 0.614 GB, free: 5.539 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.5789, allocations: 0 / 0.614 GB, free: 5.539 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5789, allocations: 0 / 0.614 GB, free: 5.539 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003872/0.5793, allocations: 1.344 kB / 0.614 GB, free: 5.539 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.02691/0.6062, allocations: 6.808 MB / 0.6207 GB, free: 1.891 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.6062, allocations: 10.12 kB / 0.6207 GB, free: 1.891 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002724/0.6065, allocations: 139.7 kB / 0.6208 GB, free: 1.879 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00358/0.6101, allocations: 0.9195 MB / 0.6217 GB, free: 1.281 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08702/0.6971, allocations: 7.437 MB / 0.629 GB, free: 14.31 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01064/0.7078, allocations: 4.169 MB / 0.633 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000304/0.7081, allocations: 348.3 kB / 0.6334 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001732/0.7098, allocations: 434 kB / 0.6338 GB, free: 11.69 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03015/0.7399, allocations: 13.77 MB / 0.6472 GB, free: 15.37 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001625/0.7401, allocations: 55.25 kB / 0.6473 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006906/0.7408, allocations: 202.2 kB / 0.6475 GB, free: 15.19 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004081/0.7449, allocations: 2.41 MB / 0.6498 GB, free: 12.81 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02696/0.7718, allocations: 11.62 MB / 0.6612 GB, free: 1.41 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.07788/0.8497, allocations: 51.16 MB / 0.7111 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01406/0.8638, allocations: 4.503 MB / 0.7155 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004367/0.8681, allocations: 2.583 MB / 0.7181 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02247/0.8906, allocations: 12.44 MB / 0.7302 GB, free: 9.355 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.114e-05/0.8907, allocations: 59.34 kB / 0.7303 GB, free: 9.293 MB / 0.545 GB Notification: Performance of pre-optimization done (n=191): time 4.749e-06/0.8907, allocations: 0 / 0.7303 GB, free: 9.293 MB / 0.545 GB Notification: Performance of matching and sorting (n=242): time 0.1741/1.065, allocations: 42.56 MB / 0.7718 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002132/1.065, allocations: 238.8 kB / 0.772 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0125/1.077, allocations: 4.802 MB / 0.7767 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0008828/1.078, allocations: 61.7 kB / 0.7768 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.004927/1.083, allocations: 4.048 MB / 0.7807 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00196/1.085, allocations: 0.959 MB / 0.7817 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005349/1.091, allocations: 1.469 MB / 0.7831 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001553/1.091, allocations: 305 kB / 0.7834 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006371/1.097, allocations: 3.262 MB / 0.7866 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0104/1.108, allocations: 7.557 MB / 0.794 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01794/1.125, allocations: 11.59 MB / 0.8053 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001967/1.126, allocations: 44 kB / 0.8053 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.03704/1.163, allocations: 13.84 MB / 0.8189 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002856/1.163, allocations: 72.94 kB / 0.8189 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003714/1.163, allocations: 148 kB / 0.8191 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01367/1.177, allocations: 3.783 MB / 0.8228 GB, free: 6.859 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0069/1.184, allocations: 1.599 MB / 0.8243 GB, free: 5.258 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03419/1.218, allocations: 19.17 MB / 0.843 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008326/1.226, allocations: 455.5 kB / 0.8435 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001855/1.228, allocations: 428 kB / 0.8439 GB, free: 1.074 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.3551/1.583, allocations: 2.659 MB / 0.8465 GB, free: 229.6 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001199/1.585, allocations: 453.7 kB / 0.8469 GB, free: 229.6 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02039/1.605, allocations: 8.097 MB / 0.8548 GB, free: 229.4 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.476e-05/1.605, allocations: 30.52 kB / 0.8549 GB, free: 229.4 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-05/1.605, allocations: 12.78 kB / 0.8549 GB, free: 229.4 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.993e-05/1.605, allocations: 11.95 kB / 0.8549 GB, free: 229.4 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03473/1.64, allocations: 17.26 MB / 0.8717 GB, free: 223.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.614e-05/1.64, allocations: 9.938 kB / 0.8717 GB, free: 223.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001996/1.642, allocations: 391.9 kB / 0.8721 GB, free: 223.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01105/1.653, allocations: 3.827 MB / 0.8759 GB, free: 222.9 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006567/1.654, allocations: 48.84 kB / 0.8759 GB, free: 222.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02125/1.675, allocations: 17.54 MB / 0.893 GB, free: 211.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/1.675, allocations: 11.92 kB / 0.893 GB, free: 211.5 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02221/1.697, allocations: 12.52 MB / 0.9053 GB, free: 199.3 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001797/1.699, allocations: 486.7 kB / 0.9057 GB, free: 199 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008981/1.7, allocations: 46.08 kB / 0.9058 GB, free: 198.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002363/1.702, allocations: 207.7 kB / 0.906 GB, free: 198.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006121/1.703, allocations: 142.2 kB / 0.9061 GB, free: 198.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001976/1.703, allocations: 61.25 kB / 0.9062 GB, free: 198.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0047/1.708, allocations: 2.998 MB / 0.9091 GB, free: 195.5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/1.708, allocations: 0 / 0.9091 GB, free: 195.5 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.006952/1.715, allocations: 1.423 MB / 0.9105 GB, free: 194.1 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.02094/1.736, allocations: 13.23 MB / 0.9234 GB, free: 180.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01078/1.746, allocations: 7.585 MB / 0.9308 GB, free: 173.4 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.746, allocations: 0 / 0.9308 GB, free: 173.4 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00375/1.75, allocations: 2.744 MB / 0.9335 GB, free: 170.6 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003664/1.754, allocations: 0.5409 MB / 0.934 GB, free: 170.1 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1163/1.87, allocations: 65.93 MB / 0.9984 GB, free: 97.67 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007795/1.878, allocations: 4.086 MB / 1.002 GB, free: 93.57 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005598/1.883, allocations: 2.171 MB / 1.005 GB, free: 91.39 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004335/1.888, allocations: 2.483 MB / 1.007 GB, free: 88.91 MB / 0.6544 GB Notification: Performance of SimCode: time 9.92e-07/1.888, allocations: 0 / 1.007 GB, free: 88.91 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5533/2.441, allocations: 103.5 MB / 1.108 GB, free: 225 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.18/34.62, allocations: 10.09 kB / 1.108 GB, free: 225 MB / 0.6544 GB " [Timeout remaining time 625] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUSP2_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUSP2.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 38.105887186015025] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute.phi', 'revolute.w'] 34.822995344991796 34.844594081 34.26121292 Calling exit ...