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.0012/0.0012, allocations: 117.7 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00132/0.00132, allocations: 200.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.241/1.241, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1944/0.1944, allocations: 46.1 MB / 345 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 79.88 kB / 482 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2916, allocations: 62.43 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01321/0.3048, allocations: 13.24 MB / 0.5446 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009995/0.3148, allocations: 4.857 MB / 0.5493 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002469/0.3173, allocations: 80.62 kB / 0.5494 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007154/0.3245, allocations: 3.969 MB / 0.5533 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005982/0.3306, allocations: 2.237 MB / 0.5555 GB, free: 9.211 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00279/0.3334, allocations: 1.181 MB / 0.5566 GB, free: 8.027 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007371/0.3408, allocations: 5.812 MB / 0.5623 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006427/0.3472, allocations: 5.168 MB / 0.5674 GB, free: 12.97 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003225/0.3505, allocations: 2.165 MB / 0.5695 GB, free: 10.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004089/0.3546, allocations: 2.956 MB / 0.5724 GB, free: 7.836 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001379/0.356, allocations: 0.5 MB / 0.5728 GB, free: 7.336 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003419/0.3594, allocations: 1.646 MB / 0.5744 GB, free: 5.688 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003124/0.3625, allocations: 2.665 MB / 0.5771 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004513/0.3671, allocations: 2.995 MB / 0.58 GB, free: 4 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01019/0.3773, allocations: 9.897 MB / 0.5896 GB, free: 6.074 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3773, allocations: 0 / 0.5896 GB, free: 6.074 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3773, allocations: 0 / 0.5896 GB, free: 6.074 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002215/0.3775, allocations: 0 / 0.5896 GB, free: 6.074 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.01313/0.3907, allocations: 6.492 MB / 0.596 GB, free: 15.5 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.3907, allocations: 12.03 kB / 0.596 GB, free: 15.49 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01475/0.4055, allocations: 2.712 MB / 0.5986 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007423/0.413, allocations: 3.646 MB / 0.6022 GB, free: 9.059 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003228/0.4133, allocations: 354.2 kB / 0.6025 GB, free: 8.703 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001307/0.4146, allocations: 427.7 kB / 0.6029 GB, free: 8.285 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02367/0.4383, allocations: 13.86 MB / 0.6165 GB, free: 9.566 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001658/0.4385, allocations: 59.42 kB / 0.6165 GB, free: 9.508 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005386/0.4391, allocations: 199.8 kB / 0.6167 GB, free: 9.312 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003309/0.4424, allocations: 2.41 MB / 0.6191 GB, free: 6.902 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02133/0.4637, allocations: 11.75 MB / 0.6306 GB, free: 11.13 MB / 494.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.05976/0.5235, allocations: 51.54 MB / 0.6809 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01147/0.535, allocations: 4.756 MB / 0.6855 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003649/0.5387, allocations: 2.952 MB / 0.6884 GB, free: 14.24 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01656/0.5553, allocations: 12.93 MB / 0.701 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/0.5554, allocations: 55.81 kB / 0.7011 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of pre-optimization done (n=197): time 4.228e-06/0.5554, allocations: 0 / 0.7011 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of matching and sorting (n=248): time 0.3679/0.9234, allocations: 43.19 MB / 0.7433 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.476e-05/0.9235, allocations: 235.5 kB / 0.7435 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005085/0.9286, allocations: 4.764 MB / 0.7482 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005779/0.9292, allocations: 69.44 kB / 0.7482 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001678/0.9309, allocations: 3.834 MB / 0.752 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008832/0.9317, allocations: 0.9375 MB / 0.7529 GB, free: 147 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001816/0.9336, allocations: 1.514 MB / 0.7544 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.913e-05/0.9337, allocations: 301.1 kB / 0.7546 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003806/0.9375, allocations: 3.45 MB / 0.758 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004918/0.9424, allocations: 7.711 MB / 0.7655 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009654/0.9521, allocations: 11.88 MB / 0.7771 GB, free: 118 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.292e-05/0.9522, allocations: 44.56 kB / 0.7772 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.024/0.9762, allocations: 14.48 MB / 0.7913 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.864e-05/0.9763, allocations: 71.94 kB / 0.7914 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001406/0.9765, allocations: 152 kB / 0.7915 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01023/0.9867, allocations: 4.021 MB / 0.7955 GB, free: 99.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004668/0.9914, allocations: 1.64 MB / 0.7971 GB, free: 97.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02177/1.013, allocations: 19.86 MB / 0.8165 GB, free: 77.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005225/1.018, allocations: 459.4 kB / 0.8169 GB, free: 77.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001101/1.02, allocations: 436 kB / 0.8173 GB, free: 76.71 MB / 0.5606 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.003873/1.023, allocations: 2.645 MB / 0.8199 GB, free: 74.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008233/1.024, allocations: 430.4 kB / 0.8203 GB, free: 73.62 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01539/1.04, allocations: 8.644 MB / 0.8287 GB, free: 64.95 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.142e-05/1.04, allocations: 27.52 kB / 0.8288 GB, free: 64.93 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.604e-05/1.04, allocations: 12 kB / 0.8288 GB, free: 64.92 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.921e-05/1.04, allocations: 15.95 kB / 0.8288 GB, free: 64.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02827/1.068, allocations: 17.84 MB / 0.8462 GB, free: 47.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.042e-05/1.068, allocations: 0 / 0.8462 GB, free: 47.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001837/1.07, allocations: 399.1 kB / 0.8466 GB, free: 46.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01029/1.08, allocations: 4.077 MB / 0.8506 GB, free: 42.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004241/1.081, allocations: 47.19 kB / 0.8506 GB, free: 42.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01936/1.1, allocations: 18.21 MB / 0.8684 GB, free: 24.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/1.1, allocations: 3.938 kB / 0.8684 GB, free: 24.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01958/1.12, allocations: 13.24 MB / 0.8813 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009961/1.121, allocations: 475.4 kB / 0.8818 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000569/1.121, allocations: 36 kB / 0.8818 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002/1.123, allocations: 219.7 kB / 0.882 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004821/1.124, allocations: 146.2 kB / 0.8822 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001915/1.124, allocations: 63.98 kB / 0.8822 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003216/1.127, allocations: 2.973 MB / 0.8851 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.31e-07/1.127, allocations: 0 / 0.8851 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005276/1.133, allocations: 1.469 MB / 0.8866 GB, free: 5.508 MB / 0.5606 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.0005458/1.133, allocations: 223.4 kB / 0.8868 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01042/1.144, allocations: 8.288 MB / 0.8949 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.144, allocations: 4 kB / 0.8949 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004179/1.148, allocations: 3.115 MB / 0.8979 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002772/1.151, allocations: 0.5173 MB / 0.8984 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01937/1.17, allocations: 13.45 MB / 0.9116 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004078/1.174, allocations: 4.075 MB / 0.9156 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001193/1.175, allocations: 335.3 kB / 0.9159 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of SimCode: time 6.71e-07/1.175, allocations: 8 kB / 0.9159 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of Templates: time 0.3671/1.542, allocations: 101.6 MB / 1.015 GB, free: 160.9 MB / 0.6231 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)