Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 110.6 kB / 18.45 MB, free: 4.617 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.001368/0.001369, allocations: 187.1 kB / 19.39 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2108/0.2108, allocations: 44.19 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 67.91 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.413, allocations: 60.81 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01842/0.4315, allocations: 17.69 MB / 0.5368 GB, free: 6.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01432/0.4459, allocations: 5.691 MB / 0.5424 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005191/0.4511, allocations: 110.1 kB / 0.5425 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01066/0.4618, allocations: 4.592 MB / 0.547 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01456/0.4765, allocations: 3.102 MB / 0.55 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005013/0.4815, allocations: 1.486 MB / 0.5515 GB, free: 11.31 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01506/0.4966, allocations: 8.756 MB / 0.56 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009986/0.5066, allocations: 6.451 MB / 0.5663 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005865/0.5125, allocations: 3.014 MB / 0.5693 GB, free: 8.996 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006743/0.5193, allocations: 4.276 MB / 0.5734 GB, free: 4.707 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002563/0.5219, allocations: 0.6602 MB / 0.5741 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005033/0.527, allocations: 1.846 MB / 0.5759 GB, free: 2.199 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005607/0.5326, allocations: 3.741 MB / 0.5795 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00745/0.5401, allocations: 4.218 MB / 0.5837 GB, free: 10.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01638/0.5565, allocations: 13.58 MB / 0.5969 GB, free: 12.57 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.5565, allocations: 0 / 0.5969 GB, free: 12.57 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.5565, allocations: 4 kB / 0.5969 GB, free: 12.57 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000428/0.5569, allocations: 0 / 0.5969 GB, free: 12.57 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.02352/0.5805, allocations: 9.009 MB / 0.6057 GB, free: 3.473 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.5805, allocations: 8.031 kB / 0.6057 GB, free: 3.465 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01794/0.5985, allocations: 4.096 MB / 0.6097 GB, free: 15.35 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01322/0.6117, allocations: 5.181 MB / 0.6148 GB, free: 10.09 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000504/0.6123, allocations: 434.9 kB / 0.6152 GB, free: 9.66 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00286/0.6151, allocations: 0.5971 MB / 0.6158 GB, free: 9.062 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0478/0.663, allocations: 20.62 MB / 0.6359 GB, free: 3.297 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004267/0.6634, allocations: 79.3 kB / 0.636 GB, free: 3.219 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002831/0.6663, allocations: 271.7 kB / 0.6363 GB, free: 2.953 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006704/0.673, allocations: 3.714 MB / 0.6399 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0405/0.7135, allocations: 18.19 MB / 0.6577 GB, free: 13.02 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.685/1.399, allocations: 74.29 MB / 0.7302 GB, free: 120.2 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01943/1.418, allocations: 7.45 MB / 0.7375 GB, free: 118.9 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006623/1.425, allocations: 4.116 MB / 0.7415 GB, free: 118.3 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02991/1.455, allocations: 18.2 MB / 0.7593 GB, free: 109.3 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.253e-05/1.455, allocations: 66.38 kB / 0.7593 GB, free: 109.2 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=335): time 7.635e-06/1.455, allocations: 0 / 0.7593 GB, free: 109.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=419): time 0.1251/1.58, allocations: 35.02 MB / 0.7935 GB, free: 81.35 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/1.58, allocations: 192.9 kB / 0.7937 GB, free: 81.12 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01316/1.593, allocations: 6.474 MB / 0.8 GB, free: 74.64 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001048/1.594, allocations: 93.53 kB / 0.8001 GB, free: 74.55 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003418/1.598, allocations: 5.359 MB / 0.8054 GB, free: 69.19 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002091/1.6, allocations: 1.547 MB / 0.8069 GB, free: 67.66 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005495/1.605, allocations: 2.131 MB / 0.809 GB, free: 65.52 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.824e-05/1.605, allocations: 301.1 kB / 0.8092 GB, free: 65.23 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006519/1.612, allocations: 4.339 MB / 0.8135 GB, free: 60.88 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009407/1.621, allocations: 10.27 MB / 0.8235 GB, free: 47.81 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0175/1.639, allocations: 15.68 MB / 0.8388 GB, free: 29.4 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000386/1.639, allocations: 60 kB / 0.8389 GB, free: 29.34 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03794/1.677, allocations: 16.35 MB / 0.8549 GB, free: 12.95 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003569/1.678, allocations: 96 kB / 0.8549 GB, free: 12.86 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004135/1.678, allocations: 204 kB / 0.8551 GB, free: 12.66 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00758/1.686, allocations: 2.365 MB / 0.8575 GB, free: 10.29 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009572/1.695, allocations: 2.464 MB / 0.8599 GB, free: 7.824 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02101/1.716, allocations: 12.75 MB / 0.8723 GB, free: 10.92 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009734/1.726, allocations: 0.5931 MB / 0.8729 GB, free: 10.33 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002584/1.729, allocations: 0.5971 MB / 0.8735 GB, free: 9.734 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 943 * Number of states: 0 () * Number of discrete variables: 49 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1316): * Single equations (assignments): 1309 * Array equations: 6 * 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 {(2,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01017/1.739, allocations: 3.765 MB / 0.8772 GB, free: 5.953 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002209/1.741, allocations: 0.5901 MB / 0.8777 GB, free: 5.355 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02183/1.763, allocations: 8.324 MB / 0.8859 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001011/1.763, allocations: 19.88 kB / 0.8859 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/1.763, allocations: 4 kB / 0.8859 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002077/1.765, allocations: 0.6066 MB / 0.8865 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0021/1.768, allocations: 63.98 kB / 0.8865 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004193/1.772, allocations: 235.7 kB / 0.8868 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001452/1.773, allocations: 250.2 kB / 0.887 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0205/1.794, allocations: 8.434 MB / 0.8952 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01965/1.813, allocations: 11.26 MB / 0.9062 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005576/1.819, allocations: 3.145 MB / 0.9093 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.01174/1.831, allocations: 4.02 MB / 0.9132 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of Backend: time 1.262e-06/1.831, allocations: 0 / 0.9132 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.025/1.856, allocations: 7.945 MB / 0.921 GB, free: 9.031 MB / 0.6232 GB Notification: Performance of SimCode: time 0.03684/1.893, allocations: 16.33 MB / 0.9369 GB, free: 8.66 MB / 0.6388 GB Notification: Performance of Templates: time 0.4773/2.37, allocations: 89.13 MB / 1.024 GB, free: 203.5 MB / 0.6544 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1)