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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 110.1 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 199.3 kB / 19.23 MB, free: 3.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 242.9 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2204/0.2204, allocations: 44.17 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001266, allocations: 57.22 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1255, allocations: 60.82 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01539/0.141, allocations: 13.28 MB / 483.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01091/0.1519, allocations: 4.848 MB / 488 MB, free: 12.17 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002578/0.1546, allocations: 91.75 kB / 488.1 MB, free: 12.08 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007618/0.1622, allocations: 3.968 MB / 492.1 MB, free: 8.098 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006395/0.1687, allocations: 2.198 MB / 494.3 MB, free: 5.891 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002872/0.1716, allocations: 1.178 MB / 495.5 MB, free: 4.711 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008111/0.1797, allocations: 5.736 MB / 0.4895 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006665/0.1864, allocations: 5.19 MB / 0.4945 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003884/0.1903, allocations: 2.177 MB / 0.4967 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004789/0.1951, allocations: 2.96 MB / 0.4996 GB, free: 4.555 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001578/0.1967, allocations: 0.5 MB / 0.5 GB, free: 4.055 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003699/0.2004, allocations: 1.65 MB / 0.5017 GB, free: 2.402 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2114/0.4119, allocations: 2.663 MB / 0.5043 GB, free: 20.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005898/0.4178, allocations: 3.022 MB / 0.5072 GB, free: 19.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01379/0.4317, allocations: 9.662 MB / 0.5166 GB, free: 18.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.4317, allocations: 0 / 0.5166 GB, free: 18.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.4317, allocations: 0 / 0.5166 GB, free: 18.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004004/0.4321, allocations: 0 / 0.5166 GB, free: 18.41 MB / 382.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.02186/0.454, allocations: 6.523 MB / 0.523 GB, free: 15.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.4541, allocations: 12.66 kB / 0.523 GB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01895/0.473, allocations: 2.717 MB / 0.5257 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009538/0.4826, allocations: 3.626 MB / 0.5292 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003377/0.483, allocations: 348.2 kB / 0.5295 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002303/0.4853, allocations: 430.8 kB / 0.53 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02953/0.5148, allocations: 13.86 MB / 0.5435 GB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002723/0.5152, allocations: 55.47 kB / 0.5435 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001565/0.5167, allocations: 198.1 kB / 0.5437 GB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003569/0.5203, allocations: 2.408 MB / 0.5461 GB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02591/0.5462, allocations: 11.76 MB / 0.5576 GB, free: 9.027 MB / 398.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.07829/0.6246, allocations: 51.77 MB / 0.6081 GB, free: 4.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01399/0.6386, allocations: 4.749 MB / 0.6128 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004793/0.6435, allocations: 2.957 MB / 0.6156 GB, free: 12.65 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02497/0.6685, allocations: 12.85 MB / 0.6282 GB, free: 15.32 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.761e-05/0.6686, allocations: 55.88 kB / 0.6283 GB, free: 15.26 MB / 478.1 MB Notification: Performance of pre-optimization done (n=197): time 7.183e-06/0.6686, allocations: 7.984 kB / 0.6283 GB, free: 15.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=248): time 0.1634/0.8319, allocations: 43.41 MB / 0.6706 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/0.8321, allocations: 237.2 kB / 0.6709 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007909/0.84, allocations: 4.775 MB / 0.6755 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000765/0.8409, allocations: 61.7 kB / 0.6756 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003027/0.8439, allocations: 3.837 MB / 0.6793 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001563/0.8455, allocations: 0.9382 MB / 0.6803 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002815/0.8483, allocations: 1.511 MB / 0.6817 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.8484, allocations: 305.1 kB / 0.682 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005751/0.8542, allocations: 3.455 MB / 0.6854 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00955/0.8638, allocations: 7.705 MB / 0.6929 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2422/1.106, allocations: 11.86 MB / 0.7045 GB, free: 165.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001512/1.106, allocations: 42.88 kB / 0.7045 GB, free: 165.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.03309/1.139, allocations: 14.48 MB / 0.7187 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001136/1.139, allocations: 69.25 kB / 0.7188 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000203/1.14, allocations: 151.4 kB / 0.7189 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0125/1.152, allocations: 4.028 MB / 0.7228 GB, free: 163.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005688/1.158, allocations: 1.631 MB / 0.7244 GB, free: 163.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02527/1.183, allocations: 19.85 MB / 0.7438 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006855/1.19, allocations: 463.5 kB / 0.7443 GB, free: 151.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00153/1.192, allocations: 436 kB / 0.7447 GB, free: 150.9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * 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 (884): * Single equations (assignments): 880 * 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.006366/1.198, allocations: 2.651 MB / 0.7473 GB, free: 148.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001149/1.199, allocations: 427.3 kB / 0.7477 GB, free: 148.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01727/1.217, allocations: 8.644 MB / 0.7561 GB, free: 139.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-05/1.217, allocations: 28 kB / 0.7561 GB, free: 139.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.343e-05/1.217, allocations: 19.92 kB / 0.7562 GB, free: 139.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.525e-05/1.217, allocations: 7.969 kB / 0.7562 GB, free: 139.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03421/1.251, allocations: 17.89 MB / 0.7736 GB, free: 121.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.144e-05/1.251, allocations: 0 / 0.7736 GB, free: 121.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002123/1.253, allocations: 406.8 kB / 0.774 GB, free: 121.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01166/1.265, allocations: 4.081 MB / 0.778 GB, free: 117.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006983/1.266, allocations: 43.98 kB / 0.778 GB, free: 117.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02207/1.288, allocations: 18.21 MB / 0.7958 GB, free: 98.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/1.288, allocations: 4.062 kB / 0.7958 GB, free: 98.84 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0228/1.31, allocations: 13.23 MB / 0.8087 GB, free: 85.65 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001498/1.312, allocations: 467.4 kB / 0.8092 GB, free: 85.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001059/1.313, allocations: 40 kB / 0.8092 GB, free: 85.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002517/1.316, allocations: 211.7 kB / 0.8094 GB, free: 84.93 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006428/1.316, allocations: 158.1 kB / 0.8096 GB, free: 84.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002158/1.317, allocations: 63.92 kB / 0.8096 GB, free: 84.71 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0049/1.321, allocations: 2.985 MB / 0.8126 GB, free: 81.73 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.31e-07/1.321, allocations: 0 / 0.8126 GB, free: 81.73 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008032/1.329, allocations: 1.495 MB / 0.814 GB, free: 80.25 MB / 0.5294 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 (173): * Single equations (assignments): 169 * 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.0008843/1.33, allocations: 226.5 kB / 0.8142 GB, free: 80.03 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01537/1.346, allocations: 10.03 MB / 0.824 GB, free: 70.05 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/1.346, allocations: 4 kB / 0.824 GB, free: 70.05 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004052/1.35, allocations: 3.113 MB / 0.8271 GB, free: 66.92 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003799/1.354, allocations: 0.5151 MB / 0.8276 GB, free: 66.42 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02308/1.377, allocations: 13.57 MB / 0.8408 GB, free: 52.82 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004613/1.381, allocations: 4.08 MB / 0.8448 GB, free: 48.72 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001331/1.383, allocations: 335.4 kB / 0.8451 GB, free: 48.39 MB / 0.5294 GB Notification: Performance of SimCode: time 9.32e-07/1.383, allocations: 0 / 0.8451 GB, free: 48.39 MB / 0.5294 GB Notification: Performance of Templates: time 0.3642/1.747, allocations: 101.1 MB / 0.9439 GB, free: 171.3 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1)