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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001614/0.001614, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002144/0.002144, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.4 MB / 246.9 MB, free: 9.035 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2384/0.2384, allocations: 46.11 MB / 344.3 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 77.59 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1386, allocations: 62.45 MB / 479.9 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.3059/0.4446, allocations: 47.89 MB / 0.5155 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02631/0.4709, allocations: 10.6 MB / 0.5258 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0143/0.4853, allocations: 208.6 kB / 0.526 GB, free: 7.613 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01009/0.4954, allocations: 3.973 MB / 0.5299 GB, free: 6.418 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007559/0.5031, allocations: 2.042 MB / 0.5319 GB, free: 5.742 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003487/0.5066, allocations: 1.08 MB / 0.5329 GB, free: 5.352 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01159/0.5182, allocations: 8.339 MB / 0.5411 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00762/0.5259, allocations: 5.062 MB / 0.546 GB, free: 15.13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004522/0.5305, allocations: 1.916 MB / 0.5479 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005713/0.5362, allocations: 3.118 MB / 0.5509 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001896/0.5381, allocations: 344 kB / 0.5513 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004635/0.5428, allocations: 1.572 MB / 0.5528 GB, free: 9.145 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003936/0.5467, allocations: 2.511 MB / 0.5553 GB, free: 6.637 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005909/0.5526, allocations: 2.857 MB / 0.558 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01025/0.5629, allocations: 7.851 MB / 0.5657 GB, free: 12.12 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.563, allocations: 0 / 0.5657 GB, free: 12.12 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.563, allocations: 0 / 0.5657 GB, free: 12.12 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003814/0.5634, allocations: 0 / 0.5657 GB, free: 12.12 MB / 414.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.02175/0.5851, allocations: 6.503 MB / 0.5721 GB, free: 5.664 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.5852, allocations: 12.88 kB / 0.5721 GB, free: 5.652 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01746/0.6027, allocations: 2.707 MB / 0.5747 GB, free: 2.938 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009172/0.6119, allocations: 3.573 MB / 0.5782 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004526/0.6124, allocations: 354 kB / 0.5785 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002225/0.6146, allocations: 432.4 kB / 0.579 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03184/0.6465, allocations: 13.86 MB / 0.5925 GB, free: 80 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002956/0.6468, allocations: 51.53 kB / 0.5925 GB, free: 28 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001835/0.6487, allocations: 198.8 kB / 0.5927 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004171/0.6529, allocations: 2.417 MB / 0.5951 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0279/0.6808, allocations: 11.77 MB / 0.6066 GB, free: 1.695 MB / 446.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.07947/0.7603, allocations: 51.76 MB / 0.6571 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01307/0.7735, allocations: 4.745 MB / 0.6618 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004383/0.7779, allocations: 2.957 MB / 0.6646 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02211/0.8, allocations: 12.94 MB / 0.6773 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.363e-05/0.8001, allocations: 59.8 kB / 0.6773 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=197): time 3.737e-06/0.8001, allocations: 4 kB / 0.6773 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of matching and sorting (n=248): time 0.4015/1.202, allocations: 43.19 MB / 0.7195 GB, free: 195.7 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.043e-05/1.202, allocations: 234.9 kB / 0.7197 GB, free: 195.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008499/1.21, allocations: 4.769 MB / 0.7244 GB, free: 194.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006532/1.211, allocations: 69.19 kB / 0.7245 GB, free: 194 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002587/1.214, allocations: 3.83 MB / 0.7282 GB, free: 191.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001337/1.215, allocations: 0.9393 MB / 0.7291 GB, free: 191 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002479/1.217, allocations: 1.51 MB / 0.7306 GB, free: 190.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.149e-05/1.217, allocations: 301.1 kB / 0.7309 GB, free: 190 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005545/1.223, allocations: 3.445 MB / 0.7343 GB, free: 188.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007992/1.231, allocations: 7.708 MB / 0.7418 GB, free: 181.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01215/1.243, allocations: 11.87 MB / 0.7534 GB, free: 172.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002317/1.243, allocations: 42.38 kB / 0.7534 GB, free: 172.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.0284/1.272, allocations: 14.49 MB / 0.7676 GB, free: 165.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/1.272, allocations: 71.94 kB / 0.7676 GB, free: 165 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001576/1.272, allocations: 151.9 kB / 0.7678 GB, free: 164.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01146/1.284, allocations: 4.022 MB / 0.7717 GB, free: 160.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005193/1.289, allocations: 1.638 MB / 0.7733 GB, free: 159.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02229/1.311, allocations: 18.69 MB / 0.7916 GB, free: 140.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006384/1.318, allocations: 459.3 kB / 0.792 GB, free: 140 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001388/1.319, allocations: 436 kB / 0.7924 GB, free: 139.5 MB / 0.545 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.004998/1.324, allocations: 2.661 MB / 0.795 GB, free: 136.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001175/1.325, allocations: 422.5 kB / 0.7954 GB, free: 136.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01657/1.342, allocations: 8.644 MB / 0.8039 GB, free: 127.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.437e-05/1.342, allocations: 31.94 kB / 0.8039 GB, free: 127.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.598e-05/1.342, allocations: 15.88 kB / 0.8039 GB, free: 127.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.765e-05/1.342, allocations: 14.25 kB / 0.8039 GB, free: 127.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0313/1.373, allocations: 17.89 MB / 0.8214 GB, free: 109.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.251e-05/1.373, allocations: 4 kB / 0.8214 GB, free: 109.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001956/1.375, allocations: 399.4 kB / 0.8218 GB, free: 109.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01117/1.387, allocations: 4.072 MB / 0.8257 GB, free: 105.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005358/1.387, allocations: 43.98 kB / 0.8258 GB, free: 105.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02006/1.407, allocations: 17.11 MB / 0.8425 GB, free: 88.08 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.407, allocations: 4.031 kB / 0.8425 GB, free: 88.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02112/1.428, allocations: 13.24 MB / 0.8554 GB, free: 74.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/1.43, allocations: 471.4 kB / 0.8559 GB, free: 74.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009022/1.431, allocations: 40 kB / 0.8559 GB, free: 74.28 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002234/1.433, allocations: 211.7 kB / 0.8561 GB, free: 74.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006173/1.433, allocations: 151.2 kB / 0.8563 GB, free: 73.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002112/1.434, allocations: 68.39 kB / 0.8563 GB, free: 73.86 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003842/1.438, allocations: 2.985 MB / 0.8592 GB, free: 70.88 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/1.438, allocations: 0 / 0.8592 GB, free: 70.88 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006761/1.444, allocations: 1.468 MB / 0.8607 GB, free: 69.43 MB / 0.545 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.0007166/1.445, allocations: 219.8 kB / 0.8609 GB, free: 69.21 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01061/1.456, allocations: 8.27 MB / 0.869 GB, free: 60.95 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/1.456, allocations: 0 / 0.869 GB, free: 60.95 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003754/1.459, allocations: 3.115 MB / 0.872 GB, free: 57.82 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003222/1.463, allocations: 0.497 MB / 0.8725 GB, free: 57.34 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01985/1.483, allocations: 16.16 MB / 0.8883 GB, free: 41.14 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003366/1.486, allocations: 4.083 MB / 0.8923 GB, free: 37.04 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00125/1.487, allocations: 335.4 kB / 0.8926 GB, free: 36.71 MB / 0.545 GB Notification: Performance of SimCode: time 9.71e-07/1.487, allocations: 0 / 0.8926 GB, free: 36.71 MB / 0.545 GB Notification: Performance of Templates: time 0.3327/1.82, allocations: 100.8 MB / 0.991 GB, free: 120.1 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1)