Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009524/0.009524, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001345/0.001345, allocations: 202 kB / 16.68 MB, free: 5.969 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.58/1.58, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.4405/0.4405, allocations: 39.94 MB / 309.8 MB, free: 9.207 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.001437/0.001437, allocations: 63.91 kB / 435.8 MB, free: 2.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3794, allocations: 56.87 MB / 492.6 MB, free: 19.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01784/0.3973, allocations: 16.06 MB / 0.4968 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01596/0.4133, allocations: 5.453 MB / 0.5021 GB, free: 4.125 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005793/0.4193, allocations: 113.1 kB / 0.5022 GB, free: 4.102 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01058/0.4299, allocations: 5.131 MB / 0.5072 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01059/0.4405, allocations: 2.629 MB / 0.5098 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004498/0.445, allocations: 1.386 MB / 0.5111 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01521/0.4603, allocations: 7.607 MB / 0.5186 GB, free: 9.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009523/0.4698, allocations: 7.031 MB / 0.5254 GB, free: 2.793 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006549/0.4764, allocations: 2.785 MB / 0.5282 GB, free: 0 / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00719/0.4836, allocations: 3.755 MB / 0.5318 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002608/0.4863, allocations: 0.6367 MB / 0.5324 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005113/0.4914, allocations: 1.771 MB / 0.5342 GB, free: 9.824 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004984/0.4964, allocations: 3.347 MB / 0.5374 GB, free: 6.469 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009351/0.5058, allocations: 3.718 MB / 0.5411 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01903/0.5249, allocations: 12.04 MB / 0.5528 GB, free: 6.652 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.525, allocations: 0 / 0.5528 GB, free: 6.652 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.525, allocations: 0 / 0.5528 GB, free: 6.652 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005005/0.5255, allocations: 0 / 0.5528 GB, free: 6.652 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.02455/0.55, allocations: 8.132 MB / 0.5608 GB, free: 14.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.271e-05/0.5501, allocations: 11.89 kB / 0.5608 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01497/0.5651, allocations: 3.089 MB / 0.5638 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01279/0.5779, allocations: 5.301 MB / 0.569 GB, free: 5.934 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000363/0.5783, allocations: 382.2 kB / 0.5693 GB, free: 5.559 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002028/0.5804, allocations: 0.5152 MB / 0.5698 GB, free: 5.043 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03245/0.6128, allocations: 15.51 MB / 0.585 GB, free: 4.633 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002405/0.6131, allocations: 67.47 kB / 0.585 GB, free: 4.566 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008625/0.614, allocations: 239.8 kB / 0.5853 GB, free: 4.332 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003857/0.6178, allocations: 2.548 MB / 0.5878 GB, free: 1.777 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03033/0.6482, allocations: 13.09 MB / 0.6006 GB, free: 4.664 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4133/1.062, allocations: 57.44 MB / 0.6566 GB, free: 88.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01977/1.081, allocations: 6.371 MB / 0.6629 GB, free: 87.47 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005128/1.087, allocations: 3.45 MB / 0.6662 GB, free: 86.01 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01943/1.106, allocations: 11.6 MB / 0.6776 GB, free: 80.04 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/1.106, allocations: 61.28 kB / 0.6776 GB, free: 79.99 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=248): time 5.069e-06/1.106, allocations: 0 / 0.6776 GB, free: 79.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=343): time 0.1285/1.235, allocations: 39.95 MB / 0.7166 GB, free: 54.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/1.235, allocations: 243.5 kB / 0.7169 GB, free: 54.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008583/1.243, allocations: 5.751 MB / 0.7225 GB, free: 48.67 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001266/1.245, allocations: 77.7 kB / 0.7226 GB, free: 48.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002939/1.248, allocations: 4.527 MB / 0.727 GB, free: 44.4 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001763/1.249, allocations: 1.326 MB / 0.7283 GB, free: 43.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002457/1.252, allocations: 1.758 MB / 0.73 GB, free: 41.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.551e-05/1.252, allocations: 301.1 kB / 0.7303 GB, free: 41.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004797/1.257, allocations: 4.085 MB / 0.7343 GB, free: 36.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006506/1.263, allocations: 8.668 MB / 0.7427 GB, free: 26.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01388/1.277, allocations: 13.56 MB / 0.756 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00012/1.277, allocations: 48 kB / 0.756 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.0336/1.311, allocations: 16.41 MB / 0.772 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001243/1.311, allocations: 72.22 kB / 0.7721 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002372/1.311, allocations: 164 kB / 0.7723 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01461/1.326, allocations: 4.279 MB / 0.7764 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007671/1.334, allocations: 1.899 MB / 0.7783 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03766/1.371, allocations: 21.55 MB / 0.7993 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008745/1.38, allocations: 0.515 MB / 0.7998 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002284/1.382, allocations: 483.7 kB / 0.8003 GB, free: 12.72 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.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],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (1031): * Single equations (assignments): 1027 * 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 {(1,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009837/1.392, allocations: 3.126 MB / 0.8034 GB, free: 9.582 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002305/1.395, allocations: 0.551 MB / 0.8039 GB, free: 9.027 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0264/1.421, allocations: 10.1 MB / 0.8138 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.42e-05/1.421, allocations: 36 kB / 0.8138 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.786e-05/1.421, allocations: 20 kB / 0.8138 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.288e-05/1.421, allocations: 15.94 kB / 0.8138 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05285/1.474, allocations: 20.05 MB / 0.8334 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.603e-05/1.474, allocations: 8 kB / 0.8334 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002703/1.477, allocations: 0.4953 MB / 0.8339 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01376/1.491, allocations: 3.841 MB / 0.8377 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009312/1.492, allocations: 63.91 kB / 0.8377 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03066/1.522, allocations: 19.13 MB / 0.8564 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.24e-05/1.522, allocations: 11.94 kB / 0.8564 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.288/1.81, allocations: 14.94 MB / 0.871 GB, free: 196.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003135/1.814, allocations: 1.195 MB / 0.8722 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001038/1.815, allocations: 62.61 kB / 0.8722 GB, free: 196.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002941/1.818, allocations: 233.4 kB / 0.8724 GB, free: 196.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007976/1.818, allocations: 230.4 kB / 0.8727 GB, free: 196.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002922/1.819, allocations: 92.33 kB / 0.8728 GB, free: 196.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006395/1.825, allocations: 3.627 MB / 0.8763 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/1.825, allocations: 1.125 kB / 0.8763 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009149/1.834, allocations: 1.79 MB / 0.878 GB, free: 194.7 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (261): * Single equations (assignments): 257 * 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 {(1,64,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000922/1.835, allocations: 269 kB / 0.8783 GB, free: 194.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01542/1.851, allocations: 9.847 MB / 0.8879 GB, free: 190.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-05/1.851, allocations: 2.188 kB / 0.8879 GB, free: 190.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005266/1.856, allocations: 3.798 MB / 0.8916 GB, free: 189.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006201/1.862, allocations: 0.7209 MB / 0.8923 GB, free: 188.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0277/1.89, allocations: 16.14 MB / 0.9081 GB, free: 181.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008073/1.898, allocations: 4.844 MB / 0.9128 GB, free: 179.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007305/1.905, allocations: 2.583 MB / 0.9153 GB, free: 178.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002139/1.908, allocations: 347.1 kB / 0.9157 GB, free: 177.8 MB / 0.5919 GB Notification: Performance of SimCode: time 2.345e-06/1.908, allocations: 4 kB / 0.9157 GB, free: 177.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.111/2.019, allocations: 74.93 MB / 0.9889 GB, free: 103 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1)