Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001144/0.001143, allocations: 91.84 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.01263/0.01263, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.722/1.722, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.3759/0.3759, allocations: 40 MB / 310.7 MB, free: 9.562 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.0005999/0.0005999, allocations: 20.61 kB / 379.4 MB, free: 11.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1526, allocations: 57.96 MB / 437.4 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.3686/0.5212, allocations: 61.55 MB / 499 MB, free: 14.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04308/0.5643, allocations: 13.15 MB / 0.5001 GB, free: 5.422 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02145/0.5858, allocations: 269.7 kB / 0.5004 GB, free: 5.379 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00375/0.5896, allocations: 0.7325 MB / 0.5011 GB, free: 5.098 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01165/0.6013, allocations: 2.863 MB / 0.5039 GB, free: 3.836 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00513/0.6065, allocations: 1.387 MB / 0.5052 GB, free: 3.266 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02577/0.6323, allocations: 12.01 MB / 0.517 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01849/0.6508, allocations: 8.698 MB / 0.5254 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007419/0.6583, allocations: 2.255 MB / 0.5277 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009698/0.6681, allocations: 4.016 MB / 0.5316 GB, free: 7.074 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002674/0.6708, allocations: 292 kB / 0.5319 GB, free: 6.789 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006515/0.6773, allocations: 1.552 MB / 0.5334 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009302/0.6867, allocations: 3.338 MB / 0.5366 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01175/0.6985, allocations: 3.74 MB / 0.5403 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02273/0.7213, allocations: 12.6 MB / 0.5526 GB, free: 1.469 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.7213, allocations: 4 kB / 0.5526 GB, free: 1.465 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.606e-06/0.7213, allocations: 0 / 0.5526 GB, free: 1.465 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006382/0.722, allocations: 0 / 0.5526 GB, free: 1.465 MB / 414.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.02675/0.7488, allocations: 7.443 MB / 0.5599 GB, free: 9.938 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.591e-05/0.7488, allocations: 8.031 kB / 0.5599 GB, free: 9.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01976/0.7686, allocations: 4.202 MB / 0.564 GB, free: 5.711 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01487/0.7835, allocations: 5.287 MB / 0.5691 GB, free: 348 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006601/0.7842, allocations: 435 kB / 0.5696 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003644/0.7879, allocations: 0.6008 MB / 0.5701 GB, free: 15.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0559/0.8438, allocations: 20.67 MB / 0.5903 GB, free: 9.5 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005803/0.8445, allocations: 79.31 kB / 0.5904 GB, free: 9.422 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003545/0.848, allocations: 271.7 kB / 0.5907 GB, free: 9.156 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0072/0.8553, allocations: 3.71 MB / 0.5943 GB, free: 5.445 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04766/0.903, allocations: 18.26 MB / 0.6121 GB, free: 3.168 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.6705/1.574, allocations: 74.55 MB / 0.6849 GB, free: 87.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01921/1.593, allocations: 7.464 MB / 0.6922 GB, free: 84.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007216/1.6, allocations: 4.111 MB / 0.6962 GB, free: 82.86 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0355/1.636, allocations: 18.19 MB / 0.714 GB, free: 73.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.05e-05/1.636, allocations: 68.16 kB / 0.7141 GB, free: 73.37 MB / 494.1 MB Notification: Performance of pre-optimization done (n=335): time 7.504e-06/1.636, allocations: 0 / 0.7141 GB, free: 73.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=419): time 0.1251/1.761, allocations: 35.39 MB / 0.7486 GB, free: 49.95 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.636e-05/1.761, allocations: 196.9 kB / 0.7488 GB, free: 49.72 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01054/1.772, allocations: 6.518 MB / 0.7552 GB, free: 43.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001093/1.773, allocations: 88.67 kB / 0.7553 GB, free: 43.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003704/1.776, allocations: 5.364 MB / 0.7605 GB, free: 37.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002463/1.779, allocations: 1.543 MB / 0.762 GB, free: 36.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002213/1.781, allocations: 0.9157 MB / 0.7629 GB, free: 35.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.574e-05/1.781, allocations: 313.1 kB / 0.7632 GB, free: 34.99 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007702/1.789, allocations: 4.331 MB / 0.7674 GB, free: 30.65 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01226/1.801, allocations: 10.28 MB / 0.7775 GB, free: 17.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01772/1.819, allocations: 15.67 MB / 0.7928 GB, free: 14.89 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002571/1.819, allocations: 60 kB / 0.7928 GB, free: 14.83 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.04711/1.866, allocations: 16.36 MB / 0.8088 GB, free: 14.44 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007085/1.867, allocations: 92 kB / 0.8089 GB, free: 14.35 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007399/1.868, allocations: 208.7 kB / 0.8091 GB, free: 14.14 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009339/1.877, allocations: 2.373 MB / 0.8114 GB, free: 11.77 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01029/1.888, allocations: 2.468 MB / 0.8138 GB, free: 9.297 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3115/2.199, allocations: 11.9 MB / 0.8254 GB, free: 148.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01018/2.209, allocations: 0.5939 MB / 0.826 GB, free: 148.3 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00282/2.212, allocations: 0.598 MB / 0.8266 GB, free: 148.3 MB / 0.5138 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.009346/2.222, allocations: 3.779 MB / 0.8303 GB, free: 148.1 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001416/2.223, allocations: 0.5897 MB / 0.8309 GB, free: 148.1 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01625/2.239, allocations: 8.332 MB / 0.839 GB, free: 146.7 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.042e-05/2.239, allocations: 74.64 kB / 0.8391 GB, free: 146.7 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.105e-05/2.24, allocations: 11.03 kB / 0.8391 GB, free: 146.7 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.055e-05/2.24, allocations: 16.03 kB / 0.8391 GB, free: 146.7 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03724/2.277, allocations: 18.96 MB / 0.8576 GB, free: 139.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.6e-05/2.277, allocations: 15.97 kB / 0.8576 GB, free: 139.5 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003412/2.28, allocations: 0.6224 MB / 0.8582 GB, free: 139.4 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00785/2.288, allocations: 1.812 MB / 0.86 GB, free: 139.1 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009351/2.289, allocations: 86.33 kB / 0.8601 GB, free: 139.1 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01894/2.308, allocations: 10 MB / 0.8699 GB, free: 134.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-05/2.308, allocations: 22.86 kB / 0.8699 GB, free: 134.4 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02364/2.332, allocations: 12.48 MB / 0.8821 GB, free: 129.5 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005281/2.337, allocations: 1.18 MB / 0.8832 GB, free: 128.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001511/2.339, allocations: 73.88 kB / 0.8833 GB, free: 128.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003061/2.342, allocations: 203.1 kB / 0.8835 GB, free: 128.8 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007869/2.343, allocations: 273.3 kB / 0.8837 GB, free: 128.7 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002912/2.343, allocations: 113.3 kB / 0.8838 GB, free: 128.7 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.007009/2.35, allocations: 4.058 MB / 0.8878 GB, free: 127.4 MB / 0.5138 GB Notification: Performance of sort global known variables: time 5.11e-07/2.35, allocations: 0 / 0.8878 GB, free: 127.4 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01165/2.362, allocations: 1.954 MB / 0.8897 GB, free: 127.2 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 55 * Number of states: 2 (j2.s,j2.v) * 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 (331): * Single equations (assignments): 324 * 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,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001576/2.363, allocations: 282 kB / 0.89 GB, free: 127 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01865/2.382, allocations: 10.11 MB / 0.8999 GB, free: 120.1 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.555e-05/2.382, allocations: 4 kB / 0.8999 GB, free: 120.1 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005287/2.387, allocations: 3.392 MB / 0.9032 GB, free: 117.1 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0152/2.402, allocations: 0.7754 MB / 0.9039 GB, free: 116.4 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0377/2.44, allocations: 21.81 MB / 0.9252 GB, free: 95.05 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00834/2.449, allocations: 5.605 MB / 0.9307 GB, free: 89.42 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.008302/2.457, allocations: 3.317 MB / 0.9339 GB, free: 86.09 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00178/2.459, allocations: 415.4 kB / 0.9343 GB, free: 85.7 MB / 0.5138 GB Notification: Performance of SimCode: time 9.52e-07/2.459, allocations: 0 / 0.9343 GB, free: 85.7 MB / 0.5138 GB Notification: Performance of Templates: time 0.1232/2.582, allocations: 70.99 MB / 1.004 GB, free: 14.82 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) Environment - environmentSimulation: