Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009774/0.0009775, allocations: 103.3 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.001062/0.001062, allocations: 173.3 kB / 15.95 MB, free: 212 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.513/1.513, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.3246/0.3246, allocations: 40 MB / 310.4 MB, free: 9.965 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.0005866/0.000587, allocations: 12 kB / 378.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.116, allocations: 57.96 MB / 436.8 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.2703/0.3864, allocations: 49.88 MB / 486.6 MB, free: 23.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02661/0.4131, allocations: 12.15 MB / 498.8 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01292/0.4261, allocations: 247.2 kB / 499 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009256/0.4353, allocations: 2.474 MB / 0.4898 GB, free: 14.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02117/0.4565, allocations: 7.179 MB / 0.4968 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004437/0.461, allocations: 1.047 MB / 0.4978 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02692/0.4879, allocations: 16.69 MB / 0.5141 GB, free: 5.273 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01046/0.4984, allocations: 6.992 MB / 0.5209 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003763/0.5022, allocations: 1.783 MB / 0.5226 GB, free: 15.83 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005433/0.5077, allocations: 2.512 MB / 0.5251 GB, free: 13.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001536/0.5093, allocations: 264 kB / 0.5254 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003548/0.5128, allocations: 1.256 MB / 0.5266 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004314/0.5172, allocations: 2.696 MB / 0.5292 GB, free: 9.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002836/0.52, allocations: 1.388 MB / 0.5306 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01268/0.5327, allocations: 9.628 MB / 0.54 GB, free: 14.04 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.5328, allocations: 0 / 0.54 GB, free: 14.04 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.497e-06/0.5328, allocations: 0 / 0.54 GB, free: 14.04 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004827/0.5333, allocations: 0 / 0.54 GB, free: 14.04 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: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.01702/0.5503, allocations: 6.726 MB / 0.5465 GB, free: 7.234 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.5503, allocations: 11.97 kB / 0.5466 GB, free: 7.223 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03241/0.5828, allocations: 7.155 MB / 0.5535 GB, free: 48 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01182/0.5946, allocations: 4.913 MB / 0.5583 GB, free: 11.08 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004234/0.5951, allocations: 398 kB / 0.5587 GB, free: 10.69 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002315/0.5974, allocations: 0.5541 MB / 0.5593 GB, free: 10.13 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03799/0.6354, allocations: 19.05 MB / 0.5779 GB, free: 6.031 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003188/0.6358, allocations: 71.25 kB / 0.5779 GB, free: 5.961 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00194/0.6377, allocations: 247.8 kB / 0.5782 GB, free: 5.719 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005385/0.6431, allocations: 3.428 MB / 0.5815 GB, free: 2.281 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03366/0.6768, allocations: 16.75 MB / 0.5979 GB, free: 1.52 MB / 462.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.4953/1.172, allocations: 67 MB / 0.6633 GB, free: 95.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01529/1.187, allocations: 6.303 MB / 0.6695 GB, free: 94.46 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02722/1.215, allocations: 13.99 MB / 0.6831 GB, free: 87.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.622e-05/1.215, allocations: 58.2 kB / 0.6832 GB, free: 87.33 MB / 494.1 MB Notification: Performance of pre-optimization done (n=284): time 8.486e-06/1.215, allocations: 3.469 kB / 0.6832 GB, free: 87.33 MB / 494.1 MB Notification: Performance of matching and sorting (n=345): time 0.1032/1.318, allocations: 26.04 MB / 0.7086 GB, free: 78.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/1.318, allocations: 188.2 kB / 0.7088 GB, free: 78.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007708/1.326, allocations: 6.261 MB / 0.7149 GB, free: 76.23 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005876/1.327, allocations: 72.58 kB / 0.715 GB, free: 76.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002687/1.329, allocations: 4.986 MB / 0.7198 GB, free: 72.33 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001317/1.331, allocations: 1.278 MB / 0.7211 GB, free: 71.39 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004346/1.331, allocations: 188.8 kB / 0.7213 GB, free: 71.25 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003752/1.331, allocations: 0.7121 MB / 0.722 GB, free: 70.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004255/1.336, allocations: 3.252 MB / 0.7251 GB, free: 69.69 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006673/1.342, allocations: 8.693 MB / 0.7336 GB, free: 60.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006886/1.349, allocations: 5.219 MB / 0.7387 GB, free: 56.85 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001261/1.349, allocations: 58.44 kB / 0.7388 GB, free: 56.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.02323/1.373, allocations: 12.74 MB / 0.7512 GB, free: 44 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/1.373, allocations: 88 kB / 0.7513 GB, free: 43.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001845/1.373, allocations: 195.9 kB / 0.7515 GB, free: 43.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003838/1.377, allocations: 1.344 MB / 0.7528 GB, free: 42.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006548/1.383, allocations: 2.164 MB / 0.7549 GB, free: 40.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009934/1.393, allocations: 7.522 MB / 0.7623 GB, free: 32.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007193/1.401, allocations: 0.4994 MB / 0.7628 GB, free: 32.06 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001394/1.402, allocations: 0.542 MB / 0.7633 GB, free: 31.52 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 874 * Number of states: 0 () * Number of discrete variables: 46 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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 (1152): * Single equations (assignments): 1145 * 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%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005439/1.407, allocations: 3.46 MB / 0.7667 GB, free: 28.04 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009763/1.408, allocations: 0.5283 MB / 0.7672 GB, free: 27.51 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009326/1.418, allocations: 5.398 MB / 0.7725 GB, free: 22.05 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.031e-05/1.418, allocations: 36 kB / 0.7725 GB, free: 22.02 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/1.418, allocations: 12 kB / 0.7725 GB, free: 22.01 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.55e-05/1.418, allocations: 18.94 kB / 0.7725 GB, free: 21.99 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02659/1.445, allocations: 14.03 MB / 0.7862 GB, free: 7.742 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.779e-05/1.445, allocations: 12 kB / 0.7862 GB, free: 7.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002056/1.447, allocations: 0.4914 MB / 0.7867 GB, free: 7.238 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003005/1.45, allocations: 0.809 MB / 0.7875 GB, free: 6.426 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003137/1.45, allocations: 71.98 kB / 0.7876 GB, free: 6.355 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007618/1.458, allocations: 5.556 MB / 0.793 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/1.458, allocations: 19.89 kB / 0.793 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01475/1.472, allocations: 10.02 MB / 0.8028 GB, free: 6.027 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002668/1.475, allocations: 0.9508 MB / 0.8037 GB, free: 5.051 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008805/1.476, allocations: 61.31 kB / 0.8038 GB, free: 4.992 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002174/1.478, allocations: 143.3 kB / 0.8039 GB, free: 4.859 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004165/1.479, allocations: 221.5 kB / 0.8041 GB, free: 4.645 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001985/1.479, allocations: 99.98 kB / 0.8042 GB, free: 4.547 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.005921/1.485, allocations: 3.942 MB / 0.8081 GB, free: 0.6367 MB / 0.4982 GB Notification: Performance of sort global known variables: time 2.11e-07/1.485, allocations: 0 / 0.8081 GB, free: 0.6367 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.007342/1.492, allocations: 1.658 MB / 0.8097 GB, free: 14.99 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * 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 (269): * Single equations (assignments): 262 * 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%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007174/1.493, allocations: 270.7 kB / 0.81 GB, free: 14.73 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01209/1.505, allocations: 7.733 MB / 0.8175 GB, free: 7.008 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/1.505, allocations: 4 kB / 0.8175 GB, free: 7.004 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.003722/1.509, allocations: 2.376 MB / 0.8198 GB, free: 4.621 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003207/1.512, allocations: 0.6332 MB / 0.8205 GB, free: 3.992 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2119/1.724, allocations: 18.11 MB / 0.8381 GB, free: 147.5 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00668/1.731, allocations: 5.318 MB / 0.8433 GB, free: 146.6 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.006945/1.738, allocations: 2.98 MB / 0.8462 GB, free: 146.6 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001431/1.739, allocations: 392 kB / 0.8466 GB, free: 146.6 MB / 0.5138 GB Notification: Performance of SimCode: time 1.062e-06/1.739, allocations: 0 / 0.8466 GB, free: 146.6 MB / 0.5138 GB Notification: Performance of Templates: time 0.1018/1.841, allocations: 57.72 MB / 0.903 GB, free: 120.2 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) Environment - environmentSimulation: