Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.000826/0.0008263, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0007701/0.00077, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2814/0.2814, allocations: 38.04 MB / 308.4 MB, free: 10.2 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.1. 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.0005292/0.0005292, allocations: 20 kB / 376.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1178, allocations: 57.51 MB / 433.9 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.2473/0.3651, allocations: 57.25 MB / 491.2 MB, free: 20.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0294/0.3946, allocations: 12.55 MB / 0.4919 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01223/0.4069, allocations: 269.3 kB / 0.4922 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01052/0.4174, allocations: 2.977 MB / 0.4951 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02425/0.4417, allocations: 9 MB / 0.5039 GB, free: 7.082 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00502/0.4468, allocations: 1.279 MB / 0.5051 GB, free: 6.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03423/0.481, allocations: 24.62 MB / 0.5292 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01209/0.4931, allocations: 7.853 MB / 0.5369 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005678/0.4989, allocations: 2.444 MB / 0.5392 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006043/0.5049, allocations: 3.981 MB / 0.5431 GB, free: 12.55 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001505/0.5065, allocations: 292 kB / 0.5434 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003563/0.51, allocations: 1.315 MB / 0.5447 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003871/0.5139, allocations: 3.273 MB / 0.5479 GB, free: 7.668 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00241/0.5164, allocations: 1.512 MB / 0.5494 GB, free: 6.145 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0133/0.5297, allocations: 10.47 MB / 0.5596 GB, free: 11.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.418e-06/0.5297, allocations: 0 / 0.5596 GB, free: 11.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.5298, allocations: 3.938 kB / 0.5596 GB, free: 11.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005602/0.5303, allocations: 0 / 0.5596 GB, free: 11.64 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.01739/0.5477, allocations: 7.536 MB / 0.567 GB, free: 4.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.5478, allocations: 8.031 kB / 0.567 GB, free: 4.012 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0159/0.5637, allocations: 4.197 MB / 0.5711 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01018/0.5739, allocations: 5.205 MB / 0.5761 GB, free: 10.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000413/0.5744, allocations: 438.8 kB / 0.5766 GB, free: 10.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002426/0.5768, allocations: 0.601 MB / 0.5772 GB, free: 9.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0375/0.6143, allocations: 20.63 MB / 0.5973 GB, free: 3.707 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002189/0.6146, allocations: 79.25 kB / 0.5974 GB, free: 3.629 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008235/0.6154, allocations: 271.7 kB / 0.5976 GB, free: 3.363 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004974/0.6204, allocations: 3.71 MB / 0.6013 GB, free: 15.65 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03558/0.656, allocations: 18.17 MB / 0.619 GB, free: 13.46 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.4883/1.144, allocations: 74.53 MB / 0.6918 GB, free: 89.22 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01941/1.164, allocations: 7.447 MB / 0.6991 GB, free: 86.21 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006838/1.171, allocations: 4.094 MB / 0.7031 GB, free: 84.56 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0332/1.204, allocations: 18.19 MB / 0.7208 GB, free: 75.19 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.412e-05/1.204, allocations: 62.94 kB / 0.7209 GB, free: 75.12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=335): time 6.863e-06/1.204, allocations: 0 / 0.7209 GB, free: 75.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=419): time 0.1057/1.31, allocations: 36.23 MB / 0.7563 GB, free: 46.54 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/1.31, allocations: 196.9 kB / 0.7565 GB, free: 46.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009312/1.319, allocations: 6.479 MB / 0.7628 GB, free: 39.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007824/1.32, allocations: 85.7 kB / 0.7629 GB, free: 39.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003202/1.323, allocations: 5.372 MB / 0.7681 GB, free: 34.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001904/1.325, allocations: 1.533 MB / 0.7696 GB, free: 32.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00133/1.327, allocations: 218.7 kB / 0.7698 GB, free: 32.63 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0006809/1.327, allocations: 0.7648 MB / 0.7706 GB, free: 31.86 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005837/1.333, allocations: 4.296 MB / 0.7748 GB, free: 27.56 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008521/1.342, allocations: 10.24 MB / 0.7848 GB, free: 14.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00937/1.351, allocations: 6.476 MB / 0.7911 GB, free: 7.945 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002313/1.351, allocations: 64 kB / 0.7911 GB, free: 7.883 MB / 494.1 MB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03272/1.384, allocations: 16.27 MB / 0.807 GB, free: 7.586 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003905/1.384, allocations: 92.94 kB / 0.8071 GB, free: 7.496 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004385/1.385, allocations: 208 kB / 0.8073 GB, free: 7.293 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007572/1.393, allocations: 2.404 MB / 0.8097 GB, free: 4.883 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008379/1.401, allocations: 2.464 MB / 0.8121 GB, free: 2.414 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01907/1.42, allocations: 11.91 MB / 0.8237 GB, free: 6.371 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007521/1.428, allocations: 0.5813 MB / 0.8243 GB, free: 5.789 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001675/1.429, allocations: 0.6015 MB / 0.8249 GB, free: 5.188 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007499/1.437, allocations: 3.781 MB / 0.8285 GB, free: 1.395 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001386/1.438, allocations: 0.5939 MB / 0.8291 GB, free: 0.793 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2548/1.693, allocations: 8.311 MB / 0.8372 GB, free: 157.1 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-05/1.693, allocations: 62.98 kB / 0.8373 GB, free: 157.1 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.895e-05/1.693, allocations: 9.906 kB / 0.8373 GB, free: 157.1 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.146e-05/1.693, allocations: 24.58 kB / 0.8373 GB, free: 157.1 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03438/1.728, allocations: 18.93 MB / 0.8558 GB, free: 150.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.855e-05/1.728, allocations: 12.12 kB / 0.8558 GB, free: 150.5 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002657/1.73, allocations: 0.6242 MB / 0.8564 GB, free: 150.4 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006057/1.736, allocations: 1.811 MB / 0.8582 GB, free: 150.1 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000528/1.737, allocations: 83.53 kB / 0.8583 GB, free: 150.1 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01843/1.755, allocations: 9.999 MB / 0.8681 GB, free: 145.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.269e-05/1.756, allocations: 22.88 kB / 0.8681 GB, free: 145.4 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02684/1.782, allocations: 12.43 MB / 0.8802 GB, free: 140.5 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003728/1.786, allocations: 1.173 MB / 0.8814 GB, free: 140.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001999/1.788, allocations: 78.91 kB / 0.8814 GB, free: 140.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0039/1.792, allocations: 213.4 kB / 0.8816 GB, free: 140.1 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001037/1.793, allocations: 272.4 kB / 0.8819 GB, free: 140 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005931/1.794, allocations: 113 kB / 0.882 GB, free: 140 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.007986/1.802, allocations: 4.017 MB / 0.8859 GB, free: 138.7 MB / 0.5138 GB Notification: Performance of sort global known variables: time 3.81e-07/1.802, allocations: 0 / 0.8859 GB, free: 138.7 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01062/1.812, allocations: 1.955 MB / 0.8878 GB, free: 138.4 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001186/1.814, allocations: 271.5 kB / 0.8881 GB, free: 138.3 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01639/1.83, allocations: 10.06 MB / 0.8979 GB, free: 133.1 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.616e-05/1.83, allocations: 0 / 0.8979 GB, free: 133.1 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005652/1.836, allocations: 3.387 MB / 0.9012 GB, free: 130.1 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006418/1.842, allocations: 0.7729 MB / 0.902 GB, free: 129.5 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03286/1.875, allocations: 20.96 MB / 0.9225 GB, free: 109.2 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007806/1.883, allocations: 5.608 MB / 0.9279 GB, free: 103.6 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.008601/1.892, allocations: 3.317 MB / 0.9312 GB, free: 100.2 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002011/1.894, allocations: 415.4 kB / 0.9316 GB, free: 99.83 MB / 0.5138 GB Notification: Performance of SimCode: time 1.903e-06/1.894, allocations: 0 / 0.9316 GB, free: 99.83 MB / 0.5138 GB Notification: Performance of Templates: time 0.1072/2.001, allocations: 69.53 MB / 0.9995 GB, free: 30.4 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) Environment - environmentSimulation: