Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR") translateModel(ModelicaTest.MultiBody.Joints.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009103/0.009103, allocations: 100.6 kB / 15.73 MB, free: 6.453 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.001763/0.001764, allocations: 184.8 kB / 16.67 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3839/0.3839, allocations: 39.94 MB / 309.8 MB, free: 9.266 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 67.91 kB / 435.8 MB, free: 2.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3858, allocations: 56.87 MB / 492.7 MB, free: 19.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.01007/0.3959, allocations: 10.33 MB / 0.4912 GB, free: 12.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006452/0.4024, allocations: 3.415 MB / 0.4945 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001647/0.4041, allocations: 49.31 kB / 0.4946 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004469/0.4086, allocations: 2.627 MB / 0.4972 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001672/0.4103, allocations: 0.6638 MB / 0.4978 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001773/0.4121, allocations: 0.7195 MB / 0.4985 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00222/0.4143, allocations: 1.704 MB / 0.5002 GB, free: 6.531 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003424/0.4178, allocations: 3.343 MB / 0.5034 GB, free: 4.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001904/0.4197, allocations: 1.042 MB / 0.5044 GB, free: 4.074 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001742/0.4214, allocations: 1.364 MB / 0.5058 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004803/0.4219, allocations: 286.2 kB / 0.5061 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001897/0.4238, allocations: 0.9859 MB / 0.507 GB, free: 2.809 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001085/0.4249, allocations: 1.24 MB / 0.5082 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001194/0.4261, allocations: 1.451 MB / 0.5096 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00624/0.4324, allocations: 4.89 MB / 0.5144 GB, free: 13.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.4324, allocations: 1.656 kB / 0.5144 GB, free: 13.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.14e-06/0.4325, allocations: 0 / 0.5144 GB, free: 13.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000155/0.4326, allocations: 3.938 kB / 0.5144 GB, free: 13.41 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.007838/0.4405, allocations: 3.088 MB / 0.5174 GB, free: 11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.4405, allocations: 11.89 kB / 0.5175 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001539/0.4421, allocations: 356.9 kB / 0.5178 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003176/0.4453, allocations: 1.332 MB / 0.5191 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.4454, allocations: 176.5 kB / 0.5193 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000424/0.4458, allocations: 235.9 kB / 0.5195 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01507/0.4609, allocations: 6.9 MB / 0.5262 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.516e-05/0.461, allocations: 11.88 kB / 0.5262 GB, free: 1.652 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002548/0.4613, allocations: 103.9 kB / 0.5263 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001526/0.4628, allocations: 0.9964 MB / 0.5273 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01413/0.477, allocations: 5.67 MB / 0.5328 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02965/0.5067, allocations: 20.15 MB / 0.5525 GB, free: 6.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007045/0.5138, allocations: 1.814 MB / 0.5543 GB, free: 4.328 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009573/0.5148, allocations: 0.6867 MB / 0.555 GB, free: 3.637 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007486/0.5223, allocations: 4.891 MB / 0.5597 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/0.5224, allocations: 47.06 kB / 0.5598 GB, free: 14.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=70): time 4.519e-06/0.5224, allocations: 0 / 0.5598 GB, free: 14.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=110): time 0.04056/0.5629, allocations: 9.254 MB / 0.5688 GB, free: 5.012 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/0.5631, allocations: 94.05 kB / 0.5689 GB, free: 4.902 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002691/0.5658, allocations: 1.97 MB / 0.5708 GB, free: 2.934 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.754e-05/0.5659, allocations: 41.7 kB / 0.5709 GB, free: 2.887 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001193/0.5671, allocations: 1.675 MB / 0.5725 GB, free: 1.188 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000384/0.5674, allocations: 410.6 kB / 0.5729 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000836/0.5683, allocations: 0.5758 MB / 0.5735 GB, free: 200 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.5684, allocations: 301.1 kB / 0.5738 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001545/0.57, allocations: 1.044 MB / 0.5748 GB, free: 14.85 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002629/0.5726, allocations: 2.66 MB / 0.5774 GB, free: 11.38 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004706/0.5773, allocations: 3.987 MB / 0.5813 GB, free: 6.602 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.383e-05/0.5774, allocations: 16 kB / 0.5813 GB, free: 6.586 MB / 462.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.005729/0.5831, allocations: 3.684 MB / 0.5849 GB, free: 2.891 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.213e-05/0.5832, allocations: 33.23 kB / 0.5849 GB, free: 2.859 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.93e-05/0.5833, allocations: 56 kB / 0.585 GB, free: 2.805 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.704e-05/0.5834, allocations: 76 kB / 0.585 GB, free: 2.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002371/0.5857, allocations: 0.7135 MB / 0.5857 GB, free: 2.016 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.882e-05/0.5858, allocations: 115.5 kB / 0.5858 GB, free: 1.902 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/0.5878, allocations: 159.7 kB / 0.586 GB, free: 1.746 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002162/0.5881, allocations: 176 kB / 0.5862 GB, free: 1.574 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 259 * Number of states: 0 () * Number of discrete variables: 34 (jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (373): * Single equations (assignments): 373 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002034/0.5901, allocations: 1.199 MB / 0.5873 GB, free: 372 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002991/0.5904, allocations: 177.7 kB / 0.5875 GB, free: 192 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002983/0.5934, allocations: 1.735 MB / 0.5892 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/0.5934, allocations: 15.94 kB / 0.5892 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.5934, allocations: 0 / 0.5892 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/0.5935, allocations: 8.062 kB / 0.5892 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009958/0.6034, allocations: 5.862 MB / 0.5949 GB, free: 8.297 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/0.6035, allocations: 12 kB / 0.595 GB, free: 8.285 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008427/0.6043, allocations: 211.6 kB / 0.5952 GB, free: 8.078 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.987e-05/0.6043, allocations: 19.94 kB / 0.5952 GB, free: 8.059 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-05/0.6044, allocations: 32 kB / 0.5952 GB, free: 8.027 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.16e-05/0.6044, allocations: 23.92 kB / 0.5952 GB, free: 8.004 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.441e-05/0.6045, allocations: 23.86 kB / 0.5953 GB, free: 7.98 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002051/0.6065, allocations: 1.69 MB / 0.5969 GB, free: 6.117 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004995/0.607, allocations: 266.7 kB / 0.5972 GB, free: 5.836 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/0.6072, allocations: 43.92 kB / 0.5972 GB, free: 5.793 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000691/0.6079, allocations: 39.98 kB / 0.5972 GB, free: 5.754 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.6081, allocations: 104.2 kB / 0.5973 GB, free: 5.652 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.001e-05/0.6082, allocations: 44 kB / 0.5974 GB, free: 5.609 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001761/0.6099, allocations: 1.288 MB / 0.5986 GB, free: 4.297 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6099, allocations: 4 kB / 0.5986 GB, free: 4.293 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002407/0.6124, allocations: 0.5273 MB / 0.5992 GB, free: 3.766 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * Number of states: 0 () * 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 (111): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000416/0.6128, allocations: 206.7 kB / 0.5994 GB, free: 3.555 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003454/0.6162, allocations: 2.283 MB / 0.6016 GB, free: 1.281 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.437e-06/0.6163, allocations: 8.125 kB / 0.6016 GB, free: 1.273 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008721/0.6172, allocations: 0.5992 MB / 0.6022 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.6184, allocations: 249.8 kB / 0.6024 GB, free: 440 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009035/0.6275, allocations: 5.168 MB / 0.6075 GB, free: 11.06 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002501/0.63, allocations: 2.18 MB / 0.6096 GB, free: 8.848 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002042/0.6321, allocations: 0.7664 MB / 0.6103 GB, free: 8.078 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004414/0.6325, allocations: 139.4 kB / 0.6105 GB, free: 7.941 MB / 494.1 MB Notification: Performance of SimCode: time 1.223e-06/0.6325, allocations: 0 / 0.6105 GB, free: 7.941 MB / 494.1 MB Notification: Performance of Templates: time 0.03888/0.6714, allocations: 20.91 MB / 0.6309 GB, free: 3.039 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1)