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.0008633/0.0008633, allocations: 86.72 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.001067/0.001067, 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.838/1.838, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.4522/0.4522, allocations: 39.99 MB / 310.4 MB, free: 9.977 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.0006002/0.0006004, allocations: 16 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1641, allocations: 57.97 MB / 436.8 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.3638/0.5279, allocations: 52.81 MB / 489.6 MB, free: 21.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02925/0.5572, allocations: 11.65 MB / 0.4895 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01442/0.5717, allocations: 250.6 kB / 0.4898 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01168/0.5834, allocations: 2.747 MB / 0.4924 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02622/0.6096, allocations: 8.268 MB / 0.5005 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005609/0.6153, allocations: 1.08 MB / 0.5016 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03489/0.6502, allocations: 23.41 MB / 0.5244 GB, free: 14.37 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01315/0.6634, allocations: 7.039 MB / 0.5313 GB, free: 7.277 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005874/0.6693, allocations: 2.152 MB / 0.5334 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006822/0.6762, allocations: 3.509 MB / 0.5368 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001652/0.6779, allocations: 264 kB / 0.5371 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004234/0.6821, allocations: 1.28 MB / 0.5383 GB, free: 60 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005581/0.6877, allocations: 2.903 MB / 0.5412 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00318/0.6909, allocations: 1.38 MB / 0.5425 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01465/0.7056, allocations: 9.543 MB / 0.5518 GB, free: 2.191 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.7056, allocations: 0 / 0.5518 GB, free: 2.191 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.7056, allocations: 0 / 0.5518 GB, free: 2.191 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005001/0.7061, allocations: 0 / 0.5518 GB, free: 2.191 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.01784/0.724, allocations: 6.546 MB / 0.5582 GB, free: 11.56 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/0.7241, allocations: 11.97 kB / 0.5582 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01629/0.7404, allocations: 4.036 MB / 0.5622 GB, free: 7.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01041/0.7508, allocations: 4.343 MB / 0.5664 GB, free: 3.098 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003949/0.7513, allocations: 402 kB / 0.5668 GB, free: 2.703 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002387/0.7537, allocations: 0.5503 MB / 0.5673 GB, free: 2.152 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04042/0.7941, allocations: 18.89 MB / 0.5858 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002575/0.7944, allocations: 71.39 kB / 0.5859 GB, free: 14.14 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001216/0.7956, allocations: 247.8 kB / 0.5861 GB, free: 13.9 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005524/0.8012, allocations: 3.428 MB / 0.5894 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0389/0.8401, allocations: 16.61 MB / 0.6057 GB, free: 9.84 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.6403/1.48, allocations: 66.83 MB / 0.6709 GB, free: 88.46 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01436/1.495, allocations: 6.258 MB / 0.677 GB, free: 87.21 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004473/1.499, allocations: 2.82 MB / 0.6798 GB, free: 87.17 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02634/1.526, allocations: 13.83 MB / 0.6933 GB, free: 79.94 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.082e-05/1.526, allocations: 64.88 kB / 0.6934 GB, free: 79.88 MB / 494.1 MB Notification: Performance of pre-optimization done (n=284): time 8.676e-06/1.526, allocations: 0 / 0.6934 GB, free: 79.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=345): time 0.07922/1.605, allocations: 25.26 MB / 0.718 GB, free: 71.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.685e-05/1.605, allocations: 185.2 kB / 0.7182 GB, free: 71.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007871/1.613, allocations: 5.887 MB / 0.724 GB, free: 69.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006666/1.614, allocations: 71.89 kB / 0.724 GB, free: 69.39 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002822/1.617, allocations: 4.965 MB / 0.7289 GB, free: 65.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001475/1.618, allocations: 1.286 MB / 0.7301 GB, free: 64.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004513/1.619, allocations: 189.6 kB / 0.7303 GB, free: 64.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004201/1.619, allocations: 0.716 MB / 0.731 GB, free: 64.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004638/1.624, allocations: 3.317 MB / 0.7342 GB, free: 62.67 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007016/1.631, allocations: 8.84 MB / 0.7429 GB, free: 53.44 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007045/1.638, allocations: 5.323 MB / 0.7481 GB, free: 49 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.643e-05/1.638, allocations: 56 kB / 0.7481 GB, free: 48.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02271/1.661, allocations: 12.91 MB / 0.7607 GB, free: 36.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001212/1.661, allocations: 90.5 kB / 0.7608 GB, free: 36.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000221/1.661, allocations: 192 kB / 0.761 GB, free: 35.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00373/1.665, allocations: 1.345 MB / 0.7623 GB, free: 34.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007035/1.672, allocations: 2.211 MB / 0.7645 GB, free: 32.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/1.682, allocations: 7.295 MB / 0.7716 GB, free: 24.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007493/1.689, allocations: 0.5072 MB / 0.7721 GB, free: 24.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001621/1.691, allocations: 0.5508 MB / 0.7726 GB, free: 23.79 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.006975/1.698, allocations: 3.463 MB / 0.776 GB, free: 20.31 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00114/1.699, allocations: 0.5283 MB / 0.7765 GB, free: 19.78 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009889/1.709, allocations: 5.381 MB / 0.7818 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-05/1.709, allocations: 38.66 kB / 0.7818 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.705e-05/1.709, allocations: 8 kB / 0.7818 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.595e-05/1.709, allocations: 15.95 kB / 0.7818 GB, free: 14.28 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02577/1.735, allocations: 14 MB / 0.7955 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.889e-05/1.735, allocations: 12 kB / 0.7955 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002237/1.737, allocations: 0.4953 MB / 0.796 GB, free: 15.54 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003074/1.741, allocations: 0.8165 MB / 0.7968 GB, free: 14.73 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003992/1.741, allocations: 67.98 kB / 0.7969 GB, free: 14.66 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008844/1.75, allocations: 5.319 MB / 0.8021 GB, free: 9.207 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.426e-05/1.75, allocations: 23.88 kB / 0.8021 GB, free: 9.184 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01496/1.765, allocations: 8.251 MB / 0.8102 GB, free: 0.6445 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002934/1.768, allocations: 0.9352 MB / 0.8111 GB, free: 15.68 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001157/1.769, allocations: 74.59 kB / 0.8111 GB, free: 15.61 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002314/1.771, allocations: 136.4 kB / 0.8113 GB, free: 15.48 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004196/1.772, allocations: 217.5 kB / 0.8115 GB, free: 15.27 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002286/1.772, allocations: 106.6 kB / 0.8116 GB, free: 15.17 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.007469/1.779, allocations: 3.639 MB / 0.8151 GB, free: 11.56 MB / 0.5138 GB Notification: Performance of sort global known variables: time 3.9e-07/1.779, allocations: 0 / 0.8151 GB, free: 11.56 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01263/1.792, allocations: 1.658 MB / 0.8167 GB, free: 9.91 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.0009976/1.793, allocations: 248.4 kB / 0.817 GB, free: 9.672 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01564/1.809, allocations: 7.837 MB / 0.8246 GB, free: 1.848 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.647e-05/1.809, allocations: 0.625 kB / 0.8246 GB, free: 1.848 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.2586/2.067, allocations: 2.374 MB / 0.827 GB, free: 152.8 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00534/2.073, allocations: 0.6733 MB / 0.8276 GB, free: 152.8 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0305/2.103, allocations: 18.19 MB / 0.8454 GB, free: 145.5 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007438/2.111, allocations: 5.179 MB / 0.8504 GB, free: 144.6 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.007577/2.119, allocations: 2.963 MB / 0.8533 GB, free: 144.4 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001474/2.12, allocations: 388.8 kB / 0.8537 GB, free: 144.4 MB / 0.5138 GB Notification: Performance of SimCode: time 1.443e-06/2.12, allocations: 0 / 0.8537 GB, free: 144.4 MB / 0.5138 GB Notification: Performance of Templates: time 0.1132/2.233, allocations: 56.8 MB / 0.9092 GB, free: 117.8 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: