Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0008113/0.0008116, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0007766/0.0007766, allocations: 168.7 kB / 15.95 MB, free: 204 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.356/1.356, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.2865/0.2865, allocations: 38.04 MB / 308.4 MB, free: 10.18 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.00057/0.0005702, allocations: 16 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1102, allocations: 57.52 MB / 434 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.2575/0.3678, allocations: 52.8 MB / 486.8 MB, free: 23.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02455/0.3924, allocations: 11.67 MB / 498.4 MB, free: 15.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01061/0.403, allocations: 249.2 kB / 498.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007744/0.4108, allocations: 2.743 MB / 0.4897 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02332/0.4341, allocations: 8.273 MB / 0.4977 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004882/0.439, allocations: 1.073 MB / 0.4988 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03049/0.4696, allocations: 23.42 MB / 0.5217 GB, free: 2.605 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009636/0.4792, allocations: 7.035 MB / 0.5285 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00452/0.4838, allocations: 2.152 MB / 0.5306 GB, free: 9.387 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005184/0.489, allocations: 3.509 MB / 0.5341 GB, free: 5.867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001099/0.4901, allocations: 260 kB / 0.5343 GB, free: 5.613 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003185/0.4933, allocations: 1.276 MB / 0.5356 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003396/0.4967, allocations: 2.91 MB / 0.5384 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002206/0.499, allocations: 1.376 MB / 0.5397 GB, free: 32 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01096/0.5099, allocations: 9.543 MB / 0.5491 GB, free: 6.465 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.51, allocations: 0 / 0.5491 GB, free: 6.465 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.51, allocations: 0 / 0.5491 GB, free: 6.465 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004571/0.5105, allocations: 4 kB / 0.5491 GB, free: 6.461 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.0138/0.5243, allocations: 6.545 MB / 0.5555 GB, free: 15.83 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.5243, allocations: 8.031 kB / 0.5555 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01448/0.5388, allocations: 4.042 MB / 0.5594 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008679/0.5475, allocations: 4.346 MB / 0.5637 GB, free: 7.363 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002948/0.5479, allocations: 394 kB / 0.564 GB, free: 6.977 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001517/0.5494, allocations: 0.5503 MB / 0.5646 GB, free: 6.426 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03577/0.5852, allocations: 18.88 MB / 0.583 GB, free: 2.496 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002429/0.5855, allocations: 79.3 kB / 0.5831 GB, free: 2.418 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000986/0.5865, allocations: 243.8 kB / 0.5833 GB, free: 2.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004774/0.5913, allocations: 3.428 MB / 0.5867 GB, free: 14.74 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03197/0.6232, allocations: 16.61 MB / 0.6029 GB, free: 14.12 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.4847/1.108, allocations: 66.84 MB / 0.6682 GB, free: 98.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0134/1.121, allocations: 6.266 MB / 0.6743 GB, free: 97.33 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003399/1.125, allocations: 2.807 MB / 0.677 GB, free: 96.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01874/1.144, allocations: 13.83 MB / 0.6905 GB, free: 88.99 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.933e-05/1.144, allocations: 61.42 kB / 0.6906 GB, free: 88.94 MB / 494.1 MB Notification: Performance of pre-optimization done (n=284): time 5.721e-06/1.144, allocations: 0 / 0.6906 GB, free: 88.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=345): time 0.07573/1.219, allocations: 25.28 MB / 0.7153 GB, free: 80.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/1.22, allocations: 185.6 kB / 0.7154 GB, free: 80.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00776/1.227, allocations: 5.874 MB / 0.7212 GB, free: 78.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007066/1.228, allocations: 72.52 kB / 0.7213 GB, free: 78.45 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00269/1.231, allocations: 4.964 MB / 0.7261 GB, free: 74.64 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001115/1.232, allocations: 1.284 MB / 0.7274 GB, free: 73.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000355/1.232, allocations: 187.9 kB / 0.7275 GB, free: 73.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003601/1.233, allocations: 0.7182 MB / 0.7282 GB, free: 73.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004127/1.237, allocations: 3.318 MB / 0.7315 GB, free: 71.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006813/1.244, allocations: 8.833 MB / 0.7401 GB, free: 62.79 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007892/1.252, allocations: 5.312 MB / 0.7453 GB, free: 57.61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000106/1.252, allocations: 63.95 kB / 0.7454 GB, free: 57.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02232/1.274, allocations: 12.91 MB / 0.758 GB, free: 44.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002961/1.274, allocations: 91.12 kB / 0.7581 GB, free: 44.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004054/1.275, allocations: 196 kB / 0.7582 GB, free: 44.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003982/1.279, allocations: 1.351 MB / 0.7596 GB, free: 42.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006706/1.286, allocations: 2.207 MB / 0.7617 GB, free: 40.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009922/1.295, allocations: 7.29 MB / 0.7688 GB, free: 33.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006571/1.302, allocations: 0.5065 MB / 0.7693 GB, free: 32.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001683/1.304, allocations: 0.5547 MB / 0.7699 GB, free: 32.27 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 880 * 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 (1179): * Single equations (assignments): 1172 * 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.006511/1.31, allocations: 3.455 MB / 0.7732 GB, free: 28.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00104/1.311, allocations: 0.5206 MB / 0.7738 GB, free: 28.27 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01028/1.322, allocations: 5.389 MB / 0.779 GB, free: 22.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-05/1.322, allocations: 39.28 kB / 0.7791 GB, free: 22.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-05/1.322, allocations: 8 kB / 0.7791 GB, free: 22.78 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.413e-05/1.322, allocations: 15.94 kB / 0.7791 GB, free: 22.77 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02675/1.349, allocations: 13.99 MB / 0.7927 GB, free: 8.547 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.361e-05/1.349, allocations: 15.97 kB / 0.7928 GB, free: 8.531 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002284/1.351, allocations: 0.4953 MB / 0.7932 GB, free: 8.035 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003018/1.354, allocations: 0.8085 MB / 0.794 GB, free: 7.223 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004917/1.355, allocations: 70.5 kB / 0.7941 GB, free: 7.156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007508/1.362, allocations: 5.328 MB / 0.7993 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/1.362, allocations: 15.94 kB / 0.7993 GB, free: 1.68 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01367/1.376, allocations: 8.276 MB / 0.8074 GB, free: 9.117 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002548/1.378, allocations: 0.9314 MB / 0.8083 GB, free: 8.16 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007649/1.379, allocations: 63.98 kB / 0.8084 GB, free: 8.098 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001849/1.381, allocations: 135.7 kB / 0.8085 GB, free: 7.969 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004143/1.381, allocations: 225.5 kB / 0.8087 GB, free: 7.75 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002104/1.382, allocations: 104 kB / 0.8088 GB, free: 7.648 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.006188/1.388, allocations: 3.639 MB / 0.8124 GB, free: 4.039 MB / 0.4982 GB Notification: Performance of sort global known variables: time 2.91e-07/1.388, allocations: 0 / 0.8124 GB, free: 4.039 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.008685/1.397, allocations: 1.651 MB / 0.814 GB, free: 2.402 MB / 0.4982 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.0007281/1.397, allocations: 259.9 kB / 0.8142 GB, free: 2.148 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.0138/1.411, allocations: 7.832 MB / 0.8219 GB, free: 10.32 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.527e-05/1.411, allocations: 5.938 kB / 0.8219 GB, free: 10.32 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.003854/1.415, allocations: 2.371 MB / 0.8242 GB, free: 7.941 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004159/1.419, allocations: 0.6798 MB / 0.8249 GB, free: 7.277 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2485/1.668, allocations: 18.18 MB / 0.8426 GB, free: 149.8 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007868/1.676, allocations: 5.178 MB / 0.8477 GB, free: 148.9 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.007508/1.683, allocations: 2.96 MB / 0.8506 GB, free: 148.8 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001317/1.685, allocations: 386.9 kB / 0.8509 GB, free: 148.8 MB / 0.5138 GB Notification: Performance of SimCode: time 7.61e-07/1.685, allocations: 0 / 0.8509 GB, free: 148.8 MB / 0.5138 GB Notification: Performance of Templates: time 0.1018/1.786, allocations: 56.8 MB / 0.9064 GB, free: 125.9 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) Environment - environmentSimulation: