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.00129/0.00129, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001599/0.0016, allocations: 191.3 kB / 16.25 MB, free: 6.625 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.659/1.659, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.3368/0.3368, allocations: 39.93 MB / 309.4 MB, free: 9.02 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.001612/0.001612, allocations: 63.91 kB / 377.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1586, allocations: 56.88 MB / 434 MB, free: 3.758 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.3692/0.5279, allocations: 63.14 MB / 497.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03752/0.5654, allocations: 13.11 MB / 0.4983 GB, free: 5.633 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02301/0.5885, allocations: 273 kB / 0.4985 GB, free: 5.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009509/0.5981, allocations: 4.414 MB / 0.5028 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01526/0.6134, allocations: 2.829 MB / 0.5056 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005848/0.6193, allocations: 1.414 MB / 0.507 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02057/0.6399, allocations: 8.723 MB / 0.5155 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0142/0.6541, allocations: 6.791 MB / 0.5221 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01076/0.6649, allocations: 3.083 MB / 0.5252 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009517/0.6745, allocations: 4.712 MB / 0.5298 GB, free: 6.645 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003108/0.6776, allocations: 0.668 MB / 0.5304 GB, free: 5.977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006107/0.6838, allocations: 1.849 MB / 0.5322 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005917/0.6897, allocations: 3.788 MB / 0.5359 GB, free: 336 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009881/0.6996, allocations: 4.253 MB / 0.5401 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02095/0.7206, allocations: 13.22 MB / 0.553 GB, free: 14.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.7206, allocations: 0 / 0.553 GB, free: 14.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.7207, allocations: 0 / 0.553 GB, free: 14.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006/0.7213, allocations: 0 / 0.553 GB, free: 14.79 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.03033/0.7516, allocations: 9.046 MB / 0.5618 GB, free: 5.652 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.207e-05/0.7517, allocations: 19.88 kB / 0.5618 GB, free: 5.633 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01721/0.7689, allocations: 4.096 MB / 0.5658 GB, free: 1.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01489/0.7838, allocations: 5.295 MB / 0.571 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000594/0.7845, allocations: 438.9 kB / 0.5714 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003885/0.7884, allocations: 0.5971 MB / 0.572 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.048/0.8364, allocations: 20.63 MB / 0.5922 GB, free: 5.344 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003024/0.8368, allocations: 75.31 kB / 0.5922 GB, free: 5.27 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00161/0.8384, allocations: 267.7 kB / 0.5925 GB, free: 5.008 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005569/0.844, allocations: 3.714 MB / 0.5961 GB, free: 1.293 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04238/0.8864, allocations: 18.21 MB / 0.6139 GB, free: 15.07 MB / 494.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.7021/1.589, allocations: 74.62 MB / 0.6868 GB, free: 88.89 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02325/1.612, allocations: 7.461 MB / 0.694 GB, free: 85.88 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009634/1.622, allocations: 4.115 MB / 0.6981 GB, free: 84.22 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04295/1.665, allocations: 18.22 MB / 0.7159 GB, free: 74.85 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.833e-05/1.665, allocations: 69.97 kB / 0.7159 GB, free: 74.78 MB / 494.1 MB Notification: Performance of pre-optimization done (n=335): time 1.041e-05/1.665, allocations: 0 / 0.7159 GB, free: 74.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=419): time 0.122/1.787, allocations: 35.1 MB / 0.7502 GB, free: 47.95 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.745e-05/1.787, allocations: 196.8 kB / 0.7504 GB, free: 47.71 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01198/1.799, allocations: 6.514 MB / 0.7567 GB, free: 41.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001195/1.8, allocations: 85.7 kB / 0.7568 GB, free: 41.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003419/1.803, allocations: 5.368 MB / 0.7621 GB, free: 35.74 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002589/1.806, allocations: 1.547 MB / 0.7636 GB, free: 34.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005365/1.811, allocations: 2.135 MB / 0.7657 GB, free: 32.05 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.158e-05/1.811, allocations: 305.1 kB / 0.766 GB, free: 31.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005376/1.817, allocations: 4.335 MB / 0.7702 GB, free: 27.41 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008227/1.825, allocations: 10.28 MB / 0.7802 GB, free: 14.24 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01972/1.845, allocations: 15.66 MB / 0.7955 GB, free: 11.66 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000299/1.845, allocations: 64 kB / 0.7956 GB, free: 11.59 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.04518/1.89, allocations: 16.36 MB / 0.8116 GB, free: 11.19 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.000383/1.891, allocations: 92.94 kB / 0.8117 GB, free: 11.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006167/1.891, allocations: 208 kB / 0.8118 GB, free: 10.9 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008518/1.9, allocations: 2.373 MB / 0.8142 GB, free: 8.523 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01063/1.911, allocations: 2.468 MB / 0.8166 GB, free: 6.051 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3355/2.246, allocations: 12.75 MB / 0.829 GB, free: 151.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01032/2.257, allocations: 0.5866 MB / 0.8296 GB, free: 151.8 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002481/2.259, allocations: 0.6028 MB / 0.8302 GB, free: 151.7 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.009285/2.268, allocations: 3.774 MB / 0.8339 GB, free: 150.3 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001418/2.27, allocations: 0.5908 MB / 0.8345 GB, free: 150.3 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01614/2.286, allocations: 8.328 MB / 0.8426 GB, free: 147.3 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000123/2.286, allocations: 60.28 kB / 0.8426 GB, free: 147.3 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.273e-05/2.286, allocations: 9.188 kB / 0.8427 GB, free: 147.3 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.215e-05/2.286, allocations: 16.69 kB / 0.8427 GB, free: 147.3 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04558/2.332, allocations: 18.96 MB / 0.8612 GB, free: 140.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.309e-05/2.332, allocations: 17.31 kB / 0.8612 GB, free: 140.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003562/2.336, allocations: 0.6208 MB / 0.8618 GB, free: 140.1 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007177/2.343, allocations: 1.823 MB / 0.8636 GB, free: 139.8 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001182/2.344, allocations: 77.89 kB / 0.8637 GB, free: 139.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01855/2.363, allocations: 10.83 MB / 0.8742 GB, free: 134.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-05/2.363, allocations: 20.06 kB / 0.8743 GB, free: 134.6 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0215/2.384, allocations: 12.47 MB / 0.8864 GB, free: 129.7 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003554/2.388, allocations: 1.171 MB / 0.8876 GB, free: 129.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001112/2.389, allocations: 71 kB / 0.8876 GB, free: 129 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00264/2.391, allocations: 210.8 kB / 0.8878 GB, free: 129 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006855/2.392, allocations: 263.5 kB / 0.8881 GB, free: 128.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002548/2.392, allocations: 117.6 kB / 0.8882 GB, free: 128.9 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006111/2.399, allocations: 4.057 MB / 0.8922 GB, free: 127.6 MB / 0.5138 GB Notification: Performance of sort global known variables: time 4.91e-07/2.399, allocations: 2.406 kB / 0.8922 GB, free: 127.6 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01081/2.409, allocations: 1.955 MB / 0.8941 GB, free: 127.1 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.001128/2.411, allocations: 277.9 kB / 0.8944 GB, free: 126.9 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.02612/2.437, allocations: 15.89 MB / 0.9099 GB, free: 112.1 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.437e-05/2.437, allocations: 8 kB / 0.9099 GB, free: 112.1 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.00492/2.442, allocations: 3.391 MB / 0.9132 GB, free: 108.7 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005466/2.447, allocations: 0.7916 MB / 0.914 GB, free: 107.9 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02982/2.477, allocations: 21.75 MB / 0.9352 GB, free: 86.03 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005817/2.483, allocations: 5.604 MB / 0.9407 GB, free: 80.39 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.007273/2.49, allocations: 3.32 MB / 0.9439 GB, free: 77.07 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0012/2.491, allocations: 419.4 kB / 0.9443 GB, free: 76.66 MB / 0.5138 GB Notification: Performance of SimCode: time 9.42e-07/2.491, allocations: 0 / 0.9443 GB, free: 76.66 MB / 0.5138 GB Notification: Performance of Templates: time 0.3291/2.821, allocations: 74.98 MB / 1.018 GB, free: 146.2 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (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)