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.0009401/0.00094, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.001196/0.001196, allocations: 177.3 kB / 15.94 MB, free: 228 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.64/1.64, allocations: 205.4 MB / 222.1 MB, free: 5.504 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.3905/0.3905, allocations: 38.03 MB / 308.4 MB, free: 10.53 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.0005774/0.0005775, allocations: 20 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.131, allocations: 57.52 MB / 433.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.2918/0.4229, allocations: 54.06 MB / 488 MB, free: 23.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02963/0.4526, allocations: 13.08 MB / 0.4893 GB, free: 14.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0131/0.4657, allocations: 271.9 kB / 0.4896 GB, free: 14.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009763/0.4755, allocations: 2.692 MB / 0.4922 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02684/0.5024, allocations: 7.79 MB / 0.4998 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006631/0.509, allocations: 1.256 MB / 0.501 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03673/0.5458, allocations: 17.3 MB / 0.5179 GB, free: 3.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01406/0.5599, allocations: 7.813 MB / 0.5256 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004959/0.5649, allocations: 2.021 MB / 0.5275 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005353/0.5703, allocations: 2.878 MB / 0.5303 GB, free: 9.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00213/0.5724, allocations: 296 kB / 0.5306 GB, free: 9.141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00489/0.5773, allocations: 1.284 MB / 0.5319 GB, free: 7.855 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005603/0.583, allocations: 3.051 MB / 0.5349 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00364/0.5866, allocations: 1.516 MB / 0.5363 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01608/0.6027, allocations: 10.58 MB / 0.5467 GB, free: 8.668 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.6028, allocations: 0 / 0.5467 GB, free: 8.668 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.297e-06/0.6028, allocations: 0 / 0.5467 GB, free: 8.668 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006501/0.6035, allocations: 0 / 0.5467 GB, free: 8.668 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.02479/0.6283, allocations: 7.836 MB / 0.5543 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.044e-05/0.6283, allocations: 12.03 kB / 0.5543 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03633/0.6647, allocations: 7.416 MB / 0.5616 GB, free: 9.297 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01692/0.6817, allocations: 6.038 MB / 0.5675 GB, free: 3.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005616/0.6823, allocations: 430.9 kB / 0.5679 GB, free: 2.758 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00393/0.6862, allocations: 0.601 MB / 0.5685 GB, free: 2.156 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05479/0.741, allocations: 20.84 MB / 0.5888 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004814/0.7415, allocations: 79.25 kB / 0.5889 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00305/0.7446, allocations: 279.7 kB / 0.5892 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006493/0.7511, allocations: 3.71 MB / 0.5928 GB, free: 8.109 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04562/0.7968, allocations: 18.36 MB / 0.6107 GB, free: 5.734 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.6051/1.402, allocations: 74.55 MB / 0.6835 GB, free: 88.52 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01848/1.42, allocations: 7.462 MB / 0.6908 GB, free: 85.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03493/1.455, allocations: 18.16 MB / 0.7085 GB, free: 76.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.716e-05/1.456, allocations: 72.66 kB / 0.7086 GB, free: 76.17 MB / 494.1 MB Notification: Performance of pre-optimization done (n=332): time 6.913e-06/1.456, allocations: 1.375 kB / 0.7086 GB, free: 76.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=413): time 0.1191/1.575, allocations: 35.72 MB / 0.7435 GB, free: 58.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.26e-05/1.575, allocations: 198.9 kB / 0.7437 GB, free: 57.95 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01414/1.589, allocations: 6.965 MB / 0.7505 GB, free: 50.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001235/1.59, allocations: 85.7 kB / 0.7506 GB, free: 50.89 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00415/1.594, allocations: 5.424 MB / 0.7559 GB, free: 45.47 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00217/1.597, allocations: 1.521 MB / 0.7573 GB, free: 43.96 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0016/1.598, allocations: 208 kB / 0.7575 GB, free: 43.76 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.001015/1.599, allocations: 0.7524 MB / 0.7583 GB, free: 43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008007/1.607, allocations: 4.133 MB / 0.7623 GB, free: 38.86 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01196/1.619, allocations: 9.993 MB / 0.7721 GB, free: 26.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01099/1.63, allocations: 6.296 MB / 0.7782 GB, free: 19.74 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002323/1.631, allocations: 60 kB / 0.7783 GB, free: 19.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=1377) (initialization): time 0.03773/1.668, allocations: 15.85 MB / 0.7938 GB, free: 3.805 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004049/1.669, allocations: 92 kB / 0.7938 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005606/1.669, allocations: 208 kB / 0.794 GB, free: 3.512 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008461/1.678, allocations: 2.346 MB / 0.7963 GB, free: 1.164 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00953/1.687, allocations: 2.398 MB / 0.7987 GB, free: 14.76 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0238/1.711, allocations: 12.09 MB / 0.8105 GB, free: 2.543 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01017/1.721, allocations: 0.5813 MB / 0.811 GB, free: 1.965 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002434/1.724, allocations: 0.5898 MB / 0.8116 GB, free: 1.375 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 937 * 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 (1276): * Single equations (assignments): 1269 * 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.01108/1.735, allocations: 3.77 MB / 0.8153 GB, free: 13.6 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0026/1.738, allocations: 0.5978 MB / 0.8159 GB, free: 12.99 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02206/1.76, allocations: 8.156 MB / 0.8239 GB, free: 4.789 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001198/1.76, allocations: 60 kB / 0.8239 GB, free: 4.73 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.695e-05/1.76, allocations: 8 kB / 0.8239 GB, free: 4.723 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001025/1.76, allocations: 31.81 kB / 0.8239 GB, free: 4.691 MB / 0.5138 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 postOpt removeSimpleEquations (simulation): time 0.2981/2.058, allocations: 18.75 MB / 0.8423 GB, free: 150.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-05/2.058, allocations: 15.48 kB / 0.8423 GB, free: 150.4 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004687/2.063, allocations: 0.6132 MB / 0.8429 GB, free: 150.4 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009637/2.073, allocations: 1.751 MB / 0.8446 GB, free: 150.1 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001093/2.074, allocations: 77.16 kB / 0.8447 GB, free: 150 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02219/2.096, allocations: 10.16 MB / 0.8546 GB, free: 145.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.464e-05/2.096, allocations: 19.09 kB / 0.8546 GB, free: 145.3 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03454/2.131, allocations: 14.07 MB / 0.8683 GB, free: 138.3 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004685/2.135, allocations: 1.172 MB / 0.8695 GB, free: 137.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002188/2.138, allocations: 74.31 kB / 0.8695 GB, free: 137.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005144/2.143, allocations: 198.6 kB / 0.8697 GB, free: 137.8 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001134/2.144, allocations: 264.7 kB / 0.87 GB, free: 137.8 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004806/2.144, allocations: 116.2 kB / 0.8701 GB, free: 137.8 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.01523/2.16, allocations: 4.399 MB / 0.8744 GB, free: 136.3 MB / 0.5138 GB Notification: Performance of sort global known variables: time 8.81e-07/2.16, allocations: 0 / 0.8744 GB, free: 136.3 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01966/2.179, allocations: 1.934 MB / 0.8763 GB, free: 136.1 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * 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 (325): * Single equations (assignments): 318 * 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.001774/2.181, allocations: 281.7 kB / 0.8766 GB, free: 135.9 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.02404/2.205, allocations: 9.777 MB / 0.8861 GB, free: 132.4 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.079e-05/2.205, allocations: 0 / 0.8861 GB, free: 132.4 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.004803/2.21, allocations: 3.303 MB / 0.8893 GB, free: 131.1 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004233/2.214, allocations: 0.7366 MB / 0.89 GB, free: 130.8 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0333/2.248, allocations: 20.69 MB / 0.9102 GB, free: 116.3 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007349/2.255, allocations: 5.742 MB / 0.9159 GB, free: 112 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.008791/2.264, allocations: 3.331 MB / 0.9191 GB, free: 109.9 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001394/2.265, allocations: 421.1 kB / 0.9195 GB, free: 109.5 MB / 0.5138 GB Notification: Performance of SimCode: time 9.42e-07/2.265, allocations: 0 / 0.9195 GB, free: 109.5 MB / 0.5138 GB Notification: Performance of Templates: time 0.1142/2.38, allocations: 69.74 MB / 0.9876 GB, free: 40.32 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: