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.001363/0.001363, allocations: 109 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001459/0.001459, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.219/0.219, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 75.88 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3089, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01398/0.3229, allocations: 13.24 MB / 0.5446 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01094/0.3338, allocations: 4.855 MB / 0.5493 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002793/0.3367, allocations: 83.66 kB / 0.5494 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00742/0.3441, allocations: 3.967 MB / 0.5533 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006833/0.351, allocations: 2.166 MB / 0.5554 GB, free: 9.352 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003061/0.3541, allocations: 1.189 MB / 0.5566 GB, free: 8.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008896/0.363, allocations: 5.814 MB / 0.5622 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007517/0.3706, allocations: 5.168 MB / 0.5673 GB, free: 13.1 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004246/0.3749, allocations: 2.162 MB / 0.5694 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004685/0.3796, allocations: 2.968 MB / 0.5723 GB, free: 7.957 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001618/0.3813, allocations: 0.5 MB / 0.5728 GB, free: 7.457 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003844/0.3851, allocations: 1.639 MB / 0.5744 GB, free: 5.816 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003504/0.3886, allocations: 2.669 MB / 0.577 GB, free: 3.141 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004673/0.3933, allocations: 2.999 MB / 0.5799 GB, free: 128 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01203/0.4054, allocations: 9.89 MB / 0.5896 GB, free: 6.203 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.4054, allocations: 0 / 0.5896 GB, free: 6.203 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4055, allocations: 4 kB / 0.5896 GB, free: 6.199 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003002/0.4058, allocations: 0 / 0.5896 GB, free: 6.199 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.01798/0.4238, allocations: 6.488 MB / 0.5959 GB, free: 15.63 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.4238, allocations: 12.03 kB / 0.5959 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01884/0.4427, allocations: 2.712 MB / 0.5986 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008989/0.4517, allocations: 3.638 MB / 0.6021 GB, free: 9.195 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004297/0.4522, allocations: 354.2 kB / 0.6025 GB, free: 8.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001719/0.4539, allocations: 427.7 kB / 0.6029 GB, free: 8.422 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02867/0.4826, allocations: 13.85 MB / 0.6164 GB, free: 9.711 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002613/0.4829, allocations: 59.42 kB / 0.6165 GB, free: 9.652 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001446/0.4844, allocations: 203.8 kB / 0.6167 GB, free: 9.453 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003986/0.4884, allocations: 2.41 MB / 0.619 GB, free: 7.043 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02653/0.5149, allocations: 11.77 MB / 0.6305 GB, free: 11.27 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.07168/0.5866, allocations: 51.54 MB / 0.6808 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01327/0.6, allocations: 4.742 MB / 0.6855 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004477/0.6045, allocations: 2.956 MB / 0.6884 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02204/0.6266, allocations: 12.93 MB / 0.701 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.818e-05/0.6267, allocations: 59.81 kB / 0.701 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of pre-optimization done (n=197): time 6.993e-06/0.6267, allocations: 0 / 0.701 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of matching and sorting (n=248): time 0.429/1.056, allocations: 43.19 MB / 0.7432 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.108e-05/1.056, allocations: 233.5 kB / 0.7434 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005459/1.061, allocations: 4.77 MB / 0.7481 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005732/1.062, allocations: 65.58 kB / 0.7482 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001501/1.063, allocations: 3.833 MB / 0.7519 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008038/1.064, allocations: 0.9345 MB / 0.7528 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00167/1.066, allocations: 1.515 MB / 0.7543 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.701e-05/1.066, allocations: 301.1 kB / 0.7546 GB, free: 144 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003863/1.07, allocations: 3.446 MB / 0.758 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005388/1.075, allocations: 7.718 MB / 0.7655 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/1.086, allocations: 11.87 MB / 0.7771 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.691e-05/1.086, allocations: 44 kB / 0.7771 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.02651/1.112, allocations: 14.48 MB / 0.7913 GB, free: 102.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001562/1.112, allocations: 71.94 kB / 0.7913 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002305/1.113, allocations: 151.6 kB / 0.7915 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01153/1.124, allocations: 4.021 MB / 0.7954 GB, free: 98.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005574/1.13, allocations: 1.634 MB / 0.797 GB, free: 96.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02514/1.155, allocations: 19.85 MB / 0.8164 GB, free: 76.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006307/1.161, allocations: 459.5 kB / 0.8168 GB, free: 76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001487/1.163, allocations: 440 kB / 0.8172 GB, free: 75.57 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.005244/1.168, allocations: 2.652 MB / 0.8198 GB, free: 72.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001381/1.169, allocations: 432.1 kB / 0.8202 GB, free: 72.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01796/1.187, allocations: 8.648 MB / 0.8287 GB, free: 63.81 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.636e-05/1.188, allocations: 24 kB / 0.8287 GB, free: 63.79 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.2e-05/1.188, allocations: 12 kB / 0.8287 GB, free: 63.77 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.103e-05/1.188, allocations: 11.95 kB / 0.8287 GB, free: 63.76 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03486/1.223, allocations: 17.84 MB / 0.8462 GB, free: 45.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.928e-05/1.223, allocations: 4 kB / 0.8462 GB, free: 45.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002059/1.225, allocations: 396.2 kB / 0.8465 GB, free: 45.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01144/1.236, allocations: 4.084 MB / 0.8505 GB, free: 41.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005407/1.237, allocations: 36 kB / 0.8506 GB, free: 41.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02179/1.258, allocations: 18.22 MB / 0.8683 GB, free: 23.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/1.259, allocations: 0 / 0.8683 GB, free: 23.01 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0225/1.281, allocations: 13.24 MB / 0.8813 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001199/1.282, allocations: 467.5 kB / 0.8817 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001171/1.283, allocations: 40 kB / 0.8818 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002813/1.286, allocations: 219.7 kB / 0.882 GB, free: 9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007426/1.287, allocations: 146.2 kB / 0.8821 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003091/1.287, allocations: 66.97 kB / 0.8822 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005367/1.293, allocations: 2.978 MB / 0.8851 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.41e-07/1.293, allocations: 0 / 0.8851 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007887/1.301, allocations: 1.466 MB / 0.8865 GB, free: 4.363 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.001032/1.302, allocations: 214.2 kB / 0.8867 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0135/1.315, allocations: 8.295 MB / 0.8948 GB, free: 11.88 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.315, allocations: 0 / 0.8948 GB, free: 11.88 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.005103/1.32, allocations: 3.123 MB / 0.8979 GB, free: 8.742 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004554/1.325, allocations: 0.5274 MB / 0.8984 GB, free: 8.219 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02691/1.352, allocations: 13.44 MB / 0.9115 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006285/1.358, allocations: 4.079 MB / 0.9155 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001505/1.36, allocations: 335.4 kB / 0.9158 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of SimCode: time 1.142e-06/1.36, allocations: 4 kB / 0.9158 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of Templates: time 0.4207/1.781, allocations: 101.6 MB / 1.015 GB, free: 160.2 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)