Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_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.001313/0.001312, allocations: 111 kB / 17.09 MB, free: 6.016 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.001414/0.001414, allocations: 198.2 kB / 18.02 MB, free: 5.094 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.427/1.427, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2144/0.2144, allocations: 43.53 MB / 314.8 MB, free: 472 kB / 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: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 75.89 kB / 442.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1264, allocations: 57.79 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02163/0.1481, allocations: 17.78 MB / 0.5059 GB, free: 9.941 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01404/0.1622, allocations: 5.656 MB / 0.5114 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00396/0.1662, allocations: 111.7 kB / 0.5115 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009485/0.1758, allocations: 4.59 MB / 0.516 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009521/0.1853, allocations: 3.019 MB / 0.519 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004227/0.1896, allocations: 1.509 MB / 0.5204 GB, free: 11 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01368/0.2033, allocations: 8.604 MB / 0.5289 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3111/0.5144, allocations: 6.448 MB / 0.5351 GB, free: 6.562 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006349/0.5208, allocations: 3.04 MB / 0.5381 GB, free: 6.391 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008324/0.5292, allocations: 4.281 MB / 0.5423 GB, free: 5.973 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002963/0.5322, allocations: 0.6639 MB / 0.5429 GB, free: 5.973 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005613/0.5378, allocations: 1.842 MB / 0.5447 GB, free: 5.969 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006425/0.5443, allocations: 3.765 MB / 0.5484 GB, free: 5.609 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007714/0.552, allocations: 4.213 MB / 0.5525 GB, free: 4.164 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.017/0.569, allocations: 13.6 MB / 0.5658 GB, free: 14.85 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.569, allocations: 0 / 0.5658 GB, free: 14.85 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5691, allocations: 0 / 0.5658 GB, free: 14.85 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000464/0.5695, allocations: 0 / 0.5658 GB, free: 14.85 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: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.02663/0.5962, allocations: 9.029 MB / 0.5746 GB, free: 8.977 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.5962, allocations: 17.38 kB / 0.5747 GB, free: 8.969 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01783/0.6141, allocations: 4.103 MB / 0.5787 GB, free: 6.871 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01365/0.6277, allocations: 5.367 MB / 0.5839 GB, free: 2.984 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004828/0.6283, allocations: 440.4 kB / 0.5843 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00357/0.6319, allocations: 0.5994 MB / 0.5849 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05035/0.6822, allocations: 20.63 MB / 0.605 GB, free: 12.67 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003978/0.6827, allocations: 79.67 kB / 0.6051 GB, free: 12.62 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002818/0.6855, allocations: 267.9 kB / 0.6054 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006302/0.6918, allocations: 3.71 MB / 0.609 GB, free: 8.762 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03959/0.7314, allocations: 18.2 MB / 0.6268 GB, free: 6.871 MB / 478.1 MB 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.1102/0.8417, allocations: 74.3 MB / 0.6993 GB, free: 11.47 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01921/0.8609, allocations: 7.457 MB / 0.7066 GB, free: 3.77 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006694/0.8676, allocations: 4.111 MB / 0.7106 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03726/0.9049, allocations: 18.21 MB / 0.7284 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.054e-05/0.905, allocations: 67.78 kB / 0.7285 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=335): time 1.085e-05/0.9051, allocations: 0 / 0.7285 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=419): time 0.4152/1.32, allocations: 35.1 MB / 0.7628 GB, free: 200.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.327e-05/1.32, allocations: 193.9 kB / 0.763 GB, free: 200.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01357/1.334, allocations: 6.51 MB / 0.7693 GB, free: 199 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001005/1.335, allocations: 87.3 kB / 0.7694 GB, free: 199 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.004563/1.34, allocations: 5.374 MB / 0.7746 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002324/1.342, allocations: 1.537 MB / 0.7761 GB, free: 193.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004874/1.347, allocations: 2.135 MB / 0.7782 GB, free: 192.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.976e-05/1.347, allocations: 305.8 kB / 0.7785 GB, free: 192.4 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007684/1.355, allocations: 4.338 MB / 0.7828 GB, free: 191 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01191/1.367, allocations: 10.28 MB / 0.7928 GB, free: 181.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01751/1.384, allocations: 15.67 MB / 0.8081 GB, free: 169.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001943/1.384, allocations: 64.22 kB / 0.8082 GB, free: 169.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.0332/1.418, allocations: 16.36 MB / 0.8241 GB, free: 161.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001406/1.418, allocations: 95.75 kB / 0.8242 GB, free: 161.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002324/1.418, allocations: 208 kB / 0.8244 GB, free: 160.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007186/1.425, allocations: 2.369 MB / 0.8267 GB, free: 159.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008469/1.434, allocations: 2.462 MB / 0.8291 GB, free: 157 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01703/1.451, allocations: 12.75 MB / 0.8416 GB, free: 145.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008645/1.459, allocations: 0.5789 MB / 0.8422 GB, free: 145.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001914/1.461, allocations: 0.6054 MB / 0.8428 GB, free: 144.5 MB / 0.5919 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.008204/1.47, allocations: 3.775 MB / 0.8464 GB, free: 140.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001482/1.471, allocations: 0.59 MB / 0.847 GB, free: 140.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01534/1.486, allocations: 8.322 MB / 0.8551 GB, free: 131.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.178e-05/1.487, allocations: 23.94 kB / 0.8552 GB, free: 131.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/1.487, allocations: 3.312 kB / 0.8552 GB, free: 131.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003505/1.49, allocations: 1.212 MB / 0.8564 GB, free: 130.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001468/1.492, allocations: 61.19 kB / 0.8564 GB, free: 130.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003155/1.495, allocations: 240.1 kB / 0.8566 GB, free: 130.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005991/1.495, allocations: 250.2 kB / 0.8569 GB, free: 130 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01444/1.51, allocations: 8.424 MB / 0.8651 GB, free: 121.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01238/1.522, allocations: 11.25 MB / 0.8761 GB, free: 110.3 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003321/1.526, allocations: 3.144 MB / 0.8792 GB, free: 107.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006689/1.532, allocations: 4.052 MB / 0.8831 GB, free: 103.1 MB / 0.5919 GB Notification: Performance of Backend: time 8.12e-07/1.532, allocations: 0 / 0.8831 GB, free: 103.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01919/1.552, allocations: 7.943 MB / 0.8909 GB, free: 95.2 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02867/1.58, allocations: 16.39 MB / 0.9069 GB, free: 78.78 MB / 0.5919 GB Notification: Performance of Templates: time 0.4405/2.021, allocations: 87.97 MB / 0.9928 GB, free: 191.5 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1)