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.0013/0.001299, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 195.9 kB / 16.53 MB, free: 6.664 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.689/1.689, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.4279/0.4279, allocations: 39.94 MB / 309.7 MB, free: 9.289 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.001473/0.001473, allocations: 74.91 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1632, allocations: 56.88 MB / 434.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01902/0.1822, allocations: 16.05 MB / 450.5 MB, free: 3.543 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3404/0.5227, allocations: 5.448 MB / 456 MB, free: 36.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004778/0.5275, allocations: 109.2 kB / 456.1 MB, free: 36.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009566/0.5371, allocations: 5.134 MB / 461.2 MB, free: 36.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009453/0.5466, allocations: 2.626 MB / 463.9 MB, free: 35.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004204/0.5509, allocations: 1.39 MB / 465.2 MB, free: 35.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01375/0.5646, allocations: 7.602 MB / 472.8 MB, free: 33.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009403/0.5741, allocations: 7.037 MB / 479.9 MB, free: 30.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006956/0.5811, allocations: 2.792 MB / 482.7 MB, free: 29.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008268/0.5894, allocations: 3.742 MB / 486.4 MB, free: 28.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00478/0.5942, allocations: 0.6384 MB / 487.1 MB, free: 28.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009883/0.6041, allocations: 1.779 MB / 488.8 MB, free: 28.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01066/0.6148, allocations: 3.345 MB / 492.2 MB, free: 26.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01496/0.6298, allocations: 3.715 MB / 495.9 MB, free: 24.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02769/0.6575, allocations: 11.7 MB / 0.4957 GB, free: 18.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.1e-05/0.6576, allocations: 1.312 kB / 0.4957 GB, free: 18.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.6576, allocations: 3.938 kB / 0.4957 GB, free: 18.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008405/0.6585, allocations: 0 / 0.4957 GB, free: 18.64 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: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.04216/0.7007, allocations: 7.929 MB / 0.5034 GB, free: 13.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/0.7007, allocations: 11.73 kB / 0.5035 GB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01891/0.7197, allocations: 3.056 MB / 0.5064 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01824/0.738, allocations: 5.171 MB / 0.5115 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004665/0.7385, allocations: 385.9 kB / 0.5119 GB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003835/0.7423, allocations: 0.517 MB / 0.5124 GB, free: 6.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04917/0.7915, allocations: 15.52 MB / 0.5275 GB, free: 5.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006422/0.7922, allocations: 59.44 kB / 0.5276 GB, free: 5.816 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003945/0.7962, allocations: 235.3 kB / 0.5278 GB, free: 5.633 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005136/0.8013, allocations: 2.548 MB / 0.5303 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03785/0.8392, allocations: 13.09 MB / 0.5431 GB, free: 5.992 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1074/0.9467, allocations: 57.62 MB / 0.5993 GB, free: 11.11 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02059/0.9673, allocations: 6.378 MB / 0.6056 GB, free: 4.582 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006608/0.974, allocations: 3.442 MB / 0.6089 GB, free: 1.133 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02953/1.004, allocations: 11.57 MB / 0.6202 GB, free: 5.195 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001112/1.004, allocations: 60.56 kB / 0.6203 GB, free: 5.129 MB / 494.1 MB Notification: Performance of pre-optimization done (n=248): time 8.325e-06/1.004, allocations: 0 / 0.6203 GB, free: 5.129 MB / 494.1 MB Notification: Performance of matching and sorting (n=343): time 0.4976/1.501, allocations: 39.6 MB / 0.6589 GB, free: 136.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000158/1.502, allocations: 244.5 kB / 0.6592 GB, free: 136.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01631/1.518, allocations: 5.746 MB / 0.6648 GB, free: 134.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001242/1.519, allocations: 77.36 kB / 0.6649 GB, free: 134.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003275/1.522, allocations: 4.35 MB / 0.6691 GB, free: 131 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002185/1.525, allocations: 1.264 MB / 0.6703 GB, free: 130 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002741/1.527, allocations: 1.744 MB / 0.672 GB, free: 129.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.412e-05/1.527, allocations: 309.1 kB / 0.6723 GB, free: 128.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005222/1.533, allocations: 4.092 MB / 0.6763 GB, free: 127.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007468/1.54, allocations: 8.67 MB / 0.6848 GB, free: 119.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01517/1.555, allocations: 13.56 MB / 0.698 GB, free: 106.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001977/1.556, allocations: 44 kB / 0.6981 GB, free: 106.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.04342/1.599, allocations: 16.39 MB / 0.7141 GB, free: 89.99 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002971/1.599, allocations: 72 kB / 0.7142 GB, free: 89.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003676/1.6, allocations: 156 kB / 0.7143 GB, free: 89.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0141/1.614, allocations: 4.291 MB / 0.7185 GB, free: 85.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008307/1.622, allocations: 1.891 MB / 0.7203 GB, free: 83.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03231/1.655, allocations: 21.56 MB / 0.7414 GB, free: 61.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01004/1.665, allocations: 0.5122 MB / 0.7419 GB, free: 61.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002395/1.667, allocations: 480 kB / 0.7424 GB, free: 60.91 MB / 494.1 MB 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.009509/1.677, allocations: 3.116 MB / 0.7454 GB, free: 57.78 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002387/1.679, allocations: 0.5234 MB / 0.7459 GB, free: 57.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02344/1.703, allocations: 10.11 MB / 0.7558 GB, free: 47.08 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.793e-05/1.703, allocations: 32 kB / 0.7558 GB, free: 47.05 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.382e-05/1.703, allocations: 16 kB / 0.7558 GB, free: 47.03 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-05/1.703, allocations: 19.94 kB / 0.7559 GB, free: 47.01 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04807/1.751, allocations: 20.18 MB / 0.7756 GB, free: 26.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-05/1.751, allocations: 8.125 kB / 0.7756 GB, free: 26.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002543/1.753, allocations: 0.4992 MB / 0.776 GB, free: 26.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01198/1.765, allocations: 3.845 MB / 0.7798 GB, free: 22.33 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009865/1.766, allocations: 67.73 kB / 0.7799 GB, free: 22.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02645/1.793, allocations: 19.13 MB / 0.7985 GB, free: 3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.184e-05/1.793, allocations: 11.94 kB / 0.7986 GB, free: 2.988 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3411/2.134, allocations: 14.89 MB / 0.8131 GB, free: 141.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004293/2.138, allocations: 1.171 MB / 0.8142 GB, free: 141.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001938/2.14, allocations: 65.03 kB / 0.8143 GB, free: 141.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0039/2.144, allocations: 234.7 kB / 0.8145 GB, free: 141.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007616/2.145, allocations: 223.6 kB / 0.8147 GB, free: 141.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002513/2.145, allocations: 97.62 kB / 0.8148 GB, free: 141.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006362/2.152, allocations: 3.627 MB / 0.8184 GB, free: 140.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.51e-07/2.152, allocations: 0 / 0.8184 GB, free: 140.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01176/2.164, allocations: 1.792 MB / 0.8201 GB, free: 140.5 MB / 0.4981 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.001222/2.165, allocations: 258.4 kB / 0.8204 GB, free: 140.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02498/2.19, allocations: 13.28 MB / 0.8333 GB, free: 136.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-05/2.19, allocations: 1.469 kB / 0.8333 GB, free: 136.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006643/2.196, allocations: 3.79 MB / 0.8371 GB, free: 135.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006141/2.203, allocations: 0.7289 MB / 0.8378 GB, free: 134.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03195/2.235, allocations: 16.1 MB / 0.8535 GB, free: 128 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006715/2.241, allocations: 4.842 MB / 0.8582 GB, free: 126.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007211/2.249, allocations: 2.579 MB / 0.8607 GB, free: 126.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/2.25, allocations: 348.9 kB / 0.8611 GB, free: 126.2 MB / 0.4981 GB Notification: Performance of SimCode: time 2.936e-06/2.25, allocations: 0 / 0.8611 GB, free: 126.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.1234/2.373, allocations: 79.07 MB / 0.9383 GB, free: 57.71 MB / 0.4981 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)