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.001106/0.001106, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.009418/0.009418, allocations: 172.8 kB / 16.26 MB, free: 6.613 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.838/1.838, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.4415/0.4415, allocations: 40 MB / 310.7 MB, free: 9.926 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.0006173/0.0006172, allocations: 20 kB / 379.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1563, allocations: 57.95 MB / 437.4 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.2787/0.435, allocations: 33.77 MB / 471.2 MB, free: 32.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01973/0.4548, allocations: 7.438 MB / 478.6 MB, free: 29.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00819/0.4631, allocations: 134.3 kB / 478.7 MB, free: 29.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.4646, allocations: 259.8 kB / 479 MB, free: 29.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002571/0.4672, allocations: 0.6194 MB / 479.6 MB, free: 29.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002289/0.4695, allocations: 0.6467 MB / 480.3 MB, free: 28.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003366/0.4729, allocations: 2.76 MB / 483 MB, free: 28.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005726/0.4787, allocations: 4.783 MB / 487.8 MB, free: 25.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.4801, allocations: 0.6823 MB / 488.5 MB, free: 25.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001632/0.4818, allocations: 1.097 MB / 489.6 MB, free: 25.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004299/0.4822, allocations: 95.44 kB / 489.7 MB, free: 25.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001724/0.4839, allocations: 0.8795 MB / 490.6 MB, free: 25.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001192/0.4852, allocations: 1.004 MB / 491.6 MB, free: 24.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001603/0.4868, allocations: 1.208 MB / 492.8 MB, free: 23.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005833/0.4926, allocations: 4.56 MB / 497.3 MB, free: 22.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.4927, allocations: 0 / 497.3 MB, free: 22.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.447e-06/0.4927, allocations: 0 / 497.3 MB, free: 22.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002164/0.4929, allocations: 0 / 497.3 MB, free: 22.71 MB / 382.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.009075/0.502, allocations: 2.542 MB / 499.9 MB, free: 21.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.264e-05/0.5021, allocations: 8.812 kB / 499.9 MB, free: 21.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002928/0.505, allocations: 365 kB / 0.4885 GB, free: 21.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004193/0.5092, allocations: 1.317 MB / 0.4898 GB, free: 20.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000245/0.5095, allocations: 181 kB / 0.49 GB, free: 20.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009967/0.5105, allocations: 231.6 kB / 0.4902 GB, free: 20.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01916/0.5297, allocations: 6.931 MB / 0.497 GB, free: 17.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001853/0.5299, allocations: 21.31 kB / 0.497 GB, free: 17.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008672/0.5308, allocations: 98.47 kB / 0.4971 GB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002061/0.5329, allocations: 0.9914 MB / 0.498 GB, free: 17.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01544/0.5484, allocations: 5.708 MB / 0.5036 GB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03275/0.5812, allocations: 20.29 MB / 0.5234 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00813/0.5894, allocations: 1.83 MB / 0.5252 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001246/0.5907, allocations: 0.6867 MB / 0.5259 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009109/0.5998, allocations: 4.884 MB / 0.5307 GB, free: 6.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/0.5999, allocations: 47.12 kB / 0.5307 GB, free: 6.875 MB / 398.1 MB Notification: Performance of pre-optimization done (n=70): time 3.767e-06/0.5999, allocations: 0 / 0.5307 GB, free: 6.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=110): time 0.04554/0.6454, allocations: 9.344 MB / 0.5398 GB, free: 13.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/0.6456, allocations: 102.1 kB / 0.5399 GB, free: 13.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004185/0.6498, allocations: 1.97 MB / 0.5418 GB, free: 11.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002504/0.6501, allocations: 41.7 kB / 0.5419 GB, free: 11.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001429/0.6516, allocations: 1.671 MB / 0.5435 GB, free: 9.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006135/0.6522, allocations: 414.5 kB / 0.5439 GB, free: 9.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005924/0.6528, allocations: 255.7 kB / 0.5442 GB, free: 9.012 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002081/0.653, allocations: 301.1 kB / 0.5444 GB, free: 8.715 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002466/0.6555, allocations: 1.044 MB / 0.5455 GB, free: 7.668 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003037/0.6586, allocations: 2.664 MB / 0.5481 GB, free: 4.199 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005463/0.664, allocations: 3.983 MB / 0.552 GB, free: 15.42 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.095e-05/0.6641, allocations: 20 kB / 0.552 GB, free: 15.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.009211/0.6734, allocations: 3.676 MB / 0.5556 GB, free: 11.72 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.184e-05/0.6735, allocations: 32.25 kB / 0.5556 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001011/0.6736, allocations: 56 kB / 0.5556 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.128e-05/0.6737, allocations: 79.94 kB / 0.5557 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002861/0.6766, allocations: 0.7097 MB / 0.5564 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001224/0.6767, allocations: 115.5 kB / 0.5565 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002628/0.6793, allocations: 159.7 kB / 0.5567 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000407/0.6798, allocations: 168 kB / 0.5568 GB, free: 10.41 MB / 430.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.002877/0.6827, allocations: 1.199 MB / 0.558 GB, free: 9.199 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005149/0.6832, allocations: 177.7 kB / 0.5582 GB, free: 9.023 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003652/0.6868, allocations: 1.743 MB / 0.5599 GB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/0.6869, allocations: 12 kB / 0.5599 GB, free: 7.254 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.6869, allocations: 7.875 kB / 0.5599 GB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/0.6869, allocations: 3.984 kB / 0.5599 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01201/0.6989, allocations: 5.881 MB / 0.5656 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.545e-05/0.699, allocations: 12 kB / 0.5657 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009205/0.6999, allocations: 211.6 kB / 0.5659 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.848e-05/0.7, allocations: 16 kB / 0.5659 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.7001, allocations: 35.94 kB / 0.5659 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-05/0.7001, allocations: 23.92 kB / 0.5659 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.518e-05/0.7002, allocations: 19.88 kB / 0.566 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002822/0.703, allocations: 1.693 MB / 0.5676 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008835/0.7039, allocations: 270.7 kB / 0.5679 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004985/0.7044, allocations: 51.92 kB / 0.5679 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.7056, allocations: 35.98 kB / 0.5679 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.7058, allocations: 96.22 kB / 0.568 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.209e-05/0.7058, allocations: 44 kB / 0.5681 GB, free: 14.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002985/0.7088, allocations: 1.296 MB / 0.5693 GB, free: 13.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7089, allocations: 0 / 0.5693 GB, free: 13.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003493/0.7124, allocations: 0.5273 MB / 0.5699 GB, free: 12.55 MB / 446.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.0006782/0.7131, allocations: 206.7 kB / 0.5701 GB, free: 12.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004422/0.7175, allocations: 2.267 MB / 0.5723 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.314e-05/0.7175, allocations: 0 / 0.5723 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.7186, allocations: 0.5991 MB / 0.5729 GB, free: 9.496 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004817/0.7234, allocations: 253.9 kB / 0.5731 GB, free: 9.246 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/0.7357, allocations: 6.474 MB / 0.5794 GB, free: 2.578 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00333/0.7391, allocations: 2.176 MB / 0.5815 GB, free: 380 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002944/0.742, allocations: 0.7742 MB / 0.5823 GB, free: 15.59 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000747/0.7428, allocations: 139.4 kB / 0.5824 GB, free: 15.46 MB / 462.1 MB Notification: Performance of SimCode: time 1.412e-06/0.7428, allocations: 0 / 0.5824 GB, free: 15.46 MB / 462.1 MB Notification: Performance of Templates: time 0.04242/0.7853, allocations: 19.07 MB / 0.6011 GB, free: 12.44 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: