Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.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.JointSSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP") translateModel(ModelicaTest.MultiBody.Joints.JointSSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006908/0.006908, allocations: 99.44 kB / 15.73 MB, free: 6.008 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.001402/0.001402, allocations: 192 kB / 16.67 MB, free: 5.926 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.471/1.471, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.3285/0.3285, allocations: 39.94 MB / 309.8 MB, free: 9.41 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.001685/0.001685, allocations: 67.91 kB / 435.8 MB, free: 2.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4262, allocations: 56.88 MB / 492.7 MB, free: 19.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.01235/0.4386, allocations: 10.29 MB / 0.4912 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008823/0.4475, allocations: 3.245 MB / 0.4943 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003102/0.4506, allocations: 49.31 kB / 0.4944 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005713/0.4564, allocations: 2.668 MB / 0.497 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003164/0.4596, allocations: 0.6649 MB / 0.4976 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001935/0.4616, allocations: 0.5228 MB / 0.4981 GB, free: 8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003389/0.465, allocations: 1.613 MB / 0.4997 GB, free: 7.078 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006787/0.4718, allocations: 3.286 MB / 0.5029 GB, free: 5.277 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002698/0.4745, allocations: 1.009 MB / 0.5039 GB, free: 4.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002943/0.4775, allocations: 1.324 MB / 0.5052 GB, free: 3.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001075/0.4786, allocations: 276.9 kB / 0.5055 GB, free: 3.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002716/0.4813, allocations: 0.7993 MB / 0.5063 GB, free: 3.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002239/0.4836, allocations: 1.223 MB / 0.5075 GB, free: 2.789 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003221/0.4868, allocations: 1.436 MB / 0.5089 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006383/0.4932, allocations: 4.685 MB / 0.5134 GB, free: 14.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4933, allocations: 0 / 0.5134 GB, free: 14.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4933, allocations: 1.844 kB / 0.5134 GB, free: 14.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001547/0.4934, allocations: 0 / 0.5134 GB, free: 14.29 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: 897 * Number of variables: 897 Notification: Performance of Generate backend data structure: time 0.008695/0.5021, allocations: 3.026 MB / 0.5164 GB, free: 12.08 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.5022, allocations: 16.8 kB / 0.5164 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001672/0.5039, allocations: 373 kB / 0.5168 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002621/0.5065, allocations: 1.271 MB / 0.518 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/0.5067, allocations: 180.8 kB / 0.5182 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004189/0.5071, allocations: 239.8 kB / 0.5184 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01357/0.5207, allocations: 6.029 MB / 0.5243 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.721e-05/0.5208, allocations: 11.94 kB / 0.5243 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002634/0.5211, allocations: 103.9 kB / 0.5244 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001598/0.5227, allocations: 0.9613 MB / 0.5253 GB, free: 2.703 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01223/0.535, allocations: 4.488 MB / 0.5297 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03192/0.567, allocations: 18.5 MB / 0.5478 GB, free: 11.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004404/0.5714, allocations: 1.258 MB / 0.549 GB, free: 9.918 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006781/0.5721, allocations: 395.3 kB / 0.5494 GB, free: 9.523 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001788/0.5739, allocations: 2.05 MB / 0.5514 GB, free: 7.141 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.574, allocations: 47 kB / 0.5514 GB, free: 7.086 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 3.456e-06/0.574, allocations: 4 kB / 0.5514 GB, free: 7.082 MB / 430.1 MB Notification: Performance of matching and sorting (n=110): time 0.02451/0.5985, allocations: 5.975 MB / 0.5573 GB, free: 1.098 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.513e-05/0.5987, allocations: 90.11 kB / 0.5574 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003471/0.6021, allocations: 1.837 MB / 0.5592 GB, free: 15.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.6023, allocations: 41.7 kB / 0.5592 GB, free: 15.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00147/0.6037, allocations: 1.721 MB / 0.5609 GB, free: 13.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004546/0.6042, allocations: 432.6 kB / 0.5613 GB, free: 12.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009429/0.6052, allocations: 0.5526 MB / 0.5618 GB, free: 12.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.6053, allocations: 305.1 kB / 0.5621 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/0.6067, allocations: 0.802 MB / 0.5629 GB, free: 11.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002623/0.6093, allocations: 2.358 MB / 0.5652 GB, free: 8.152 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004563/0.6139, allocations: 3.463 MB / 0.5686 GB, free: 3.926 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.74e-05/0.6139, allocations: 20 kB / 0.5686 GB, free: 3.906 MB / 446.1 MB Notification: Performance of matching and sorting (n=361) (initialization): time 0.005698/0.6196, allocations: 3.162 MB / 0.5717 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.18e-05/0.6197, allocations: 31.98 kB / 0.5717 GB, free: 0.707 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001069/0.6198, allocations: 56.09 kB / 0.5718 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001191/0.62, allocations: 76 kB / 0.5718 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002127/0.6221, allocations: 0.6434 MB / 0.5725 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001161/0.6222, allocations: 107.6 kB / 0.5726 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/0.6242, allocations: 131.8 kB / 0.5727 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002508/0.6244, allocations: 160 kB / 0.5729 GB, free: 15.54 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 249 * Number of states: 0 () * Number of discrete variables: 34 (jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[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 (361): * Single equations (assignments): 361 * 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.002378/0.6268, allocations: 1.199 MB / 0.574 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004265/0.6273, allocations: 178.8 kB / 0.5742 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002439/0.6297, allocations: 1.274 MB / 0.5754 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.188e-05/0.6297, allocations: 12 kB / 0.5755 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.6298, allocations: 3.938 kB / 0.5755 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.6298, allocations: 3.984 kB / 0.5755 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01477/0.6446, allocations: 6.452 MB / 0.5818 GB, free: 6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.76e-05/0.6447, allocations: 28.23 kB / 0.5818 GB, free: 5.973 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006995/0.6454, allocations: 203.5 kB / 0.582 GB, free: 5.773 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.907e-05/0.6454, allocations: 28 kB / 0.582 GB, free: 5.746 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.001e-05/0.6455, allocations: 44 kB / 0.5821 GB, free: 5.703 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.113e-05/0.6455, allocations: 43.8 kB / 0.5821 GB, free: 5.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.309e-05/0.6456, allocations: 27.88 kB / 0.5821 GB, free: 5.633 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002864/0.6484, allocations: 1.692 MB / 0.5838 GB, free: 3.645 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007451/0.6492, allocations: 275.8 kB / 0.584 GB, free: 3.355 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002176/0.6494, allocations: 55.75 kB / 0.5841 GB, free: 3.305 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007513/0.6502, allocations: 36 kB / 0.5841 GB, free: 3.27 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/0.6504, allocations: 139.4 kB / 0.5843 GB, free: 3.133 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-05/0.6505, allocations: 52 kB / 0.5843 GB, free: 3.082 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002327/0.6528, allocations: 1.228 MB / 0.5855 GB, free: 1.863 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6528, allocations: 0 / 0.5855 GB, free: 1.863 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003466/0.6563, allocations: 0.4921 MB / 0.586 GB, free: 1.371 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * 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 (109): * Single equations (assignments): 109 * 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.0005272/0.6568, allocations: 218.6 kB / 0.5862 GB, free: 1.145 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003808/0.6606, allocations: 1.889 MB / 0.588 GB, free: 15.27 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.809e-05/0.6607, allocations: 4 kB / 0.588 GB, free: 15.26 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008193/0.6615, allocations: 491.9 kB / 0.5885 GB, free: 14.79 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/0.6637, allocations: 279.9 kB / 0.5888 GB, free: 14.52 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/0.6749, allocations: 5.326 MB / 0.594 GB, free: 8.875 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002456/0.6774, allocations: 2.198 MB / 0.5961 GB, free: 6.645 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001985/0.6794, allocations: 0.7112 MB / 0.5968 GB, free: 5.93 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003212/0.6798, allocations: 131.4 kB / 0.5969 GB, free: 5.801 MB / 478.1 MB Notification: Performance of SimCode: time 2.004e-06/0.6798, allocations: 0 / 0.5969 GB, free: 5.801 MB / 478.1 MB Notification: Performance of Templates: time 0.03948/0.7193, allocations: 17.34 MB / 0.6139 GB, free: 4.469 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1)