Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002734/0.002739, allocations: 366.6 kB / 15.96 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.165/4.165, allocations: 388.9 MB / 405.6 MB, free: 9.555 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003483/0.003482, allocations: 224.7 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.584/0.584, allocations: 80.02 MB / 0.5627 GB, free: 19.74 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004751/0.0004754, allocations: 16 kB / 0.6265 GB, free: 96.51 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0998/0.1003, allocations: 54.88 MB / 0.6801 GB, free: 41.63 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.4535/0.5538, allocations: 50.74 MB / 0.7297 GB, free: 11.88 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03353/0.5874, allocations: 11.31 MB / 0.7407 GB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01216/0.5996, allocations: 239.2 kB / 0.7409 GB, free: 10.7 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01003/0.6097, allocations: 2.454 MB / 0.7433 GB, free: 10.21 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03035/0.6401, allocations: 8.612 MB / 0.7517 GB, free: 6.547 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006176/0.6464, allocations: 1.074 MB / 0.7528 GB, free: 6.227 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.04006/0.6865, allocations: 19.85 MB / 0.7722 GB, free: 10.84 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01636/0.7029, allocations: 7.041 MB / 0.779 GB, free: 3.992 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006156/0.7091, allocations: 2.115 MB / 0.7811 GB, free: 1.953 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008549/0.7177, allocations: 3.503 MB / 0.7845 GB, free: 14.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002132/0.7199, allocations: 260 kB / 0.7848 GB, free: 14.25 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005807/0.7258, allocations: 1.326 MB / 0.7861 GB, free: 12.92 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006078/0.7319, allocations: 2.899 MB / 0.7889 GB, free: 10.01 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00348/0.7354, allocations: 1.372 MB / 0.7902 GB, free: 8.629 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01725/0.7527, allocations: 9.565 MB / 0.7996 GB, free: 15.04 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.707e-06/0.7528, allocations: 4 kB / 0.7996 GB, free: 15.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.7528, allocations: 0 / 0.7996 GB, free: 15.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004581/0.7533, allocations: 0 / 0.7996 GB, free: 15.04 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2561 * Number of variables: 2561 Notification: Performance of Generate backend data structure: time 0.02475/0.7781, allocations: 6.623 MB / 0.8061 GB, free: 8.332 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/0.7782, allocations: 8.031 kB / 0.8061 GB, free: 8.324 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03359/0.8118, allocations: 4.686 MB / 0.8106 GB, free: 3.621 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0149/0.8267, allocations: 4.312 MB / 0.8149 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006076/0.8274, allocations: 397.9 kB / 0.8152 GB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003255/0.8306, allocations: 0.5464 MB / 0.8158 GB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06161/0.8923, allocations: 19.15 MB / 0.8345 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003184/0.8927, allocations: 75.3 kB / 0.8345 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002019/0.8947, allocations: 251.7 kB / 0.8348 GB, free: 9.801 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009871/0.9046, allocations: 3.42 MB / 0.8381 GB, free: 6.375 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06001/0.9647, allocations: 16.87 MB / 0.8546 GB, free: 5.492 MB / 442.7 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.7985/1.763, allocations: 66.76 MB / 0.9198 GB, free: 126.5 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02745/1.791, allocations: 6.3 MB / 0.9259 GB, free: 125.2 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007301/1.798, allocations: 2.845 MB / 0.9287 GB, free: 125.2 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03676/1.835, allocations: 13.91 MB / 0.9423 GB, free: 118.2 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.856e-05/1.835, allocations: 66.22 kB / 0.9424 GB, free: 118.1 MB / 490.8 MB Notification: Performance of pre-optimization done (n=287): time 8.166e-06/1.835, allocations: 0 / 0.9424 GB, free: 118.1 MB / 490.8 MB Notification: Performance of matching and sorting (n=354): time 0.1725/2.008, allocations: 26.53 MB / 0.9683 GB, free: 105.2 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.922e-05/2.008, allocations: 184.4 kB / 0.9684 GB, free: 105 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01215/2.02, allocations: 5.868 MB / 0.9742 GB, free: 99.14 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007641/2.021, allocations: 72.2 kB / 0.9742 GB, free: 99.07 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004121/2.025, allocations: 4.927 MB / 0.979 GB, free: 94.14 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001899/2.027, allocations: 1.315 MB / 0.9803 GB, free: 92.84 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001022/2.028, allocations: 189.2 kB / 0.9805 GB, free: 92.66 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.00061/2.028, allocations: 0.7211 MB / 0.9812 GB, free: 91.93 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009068/2.038, allocations: 3.422 MB / 0.9846 GB, free: 88.5 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01222/2.05, allocations: 8.906 MB / 0.9933 GB, free: 77.02 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01228/2.062, allocations: 5.419 MB / 0.9985 GB, free: 71.74 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001632/2.062, allocations: 52 kB / 0.9986 GB, free: 71.69 MB / 490.8 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.03923/2.102, allocations: 13.16 MB / 1.011 GB, free: 58.5 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001717/2.102, allocations: 91.95 kB / 1.012 GB, free: 58.41 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003252/2.102, allocations: 192 kB / 1.012 GB, free: 58.23 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008335/2.111, allocations: 1.429 MB / 1.013 GB, free: 56.8 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01323/2.124, allocations: 2.195 MB / 1.015 GB, free: 54.6 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01935/2.143, allocations: 7.751 MB / 1.023 GB, free: 46.72 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009878/2.153, allocations: 0.5013 MB / 1.023 GB, free: 46.22 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00186/2.155, allocations: 0.5531 MB / 1.024 GB, free: 45.67 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 874 * Number of states: 0 () * Number of discrete variables: 43 (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.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.008721/2.164, allocations: 3.453 MB / 1.027 GB, free: 42.2 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001306/2.165, allocations: 0.5245 MB / 1.028 GB, free: 41.67 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02055/2.186, allocations: 5.724 MB / 1.033 GB, free: 35.89 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-05/2.186, allocations: 11.95 kB / 1.033 GB, free: 35.88 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/2.186, allocations: 0 / 1.033 GB, free: 35.88 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00333/2.189, allocations: 1.009 MB / 1.034 GB, free: 34.84 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001727/2.191, allocations: 49.72 kB / 1.034 GB, free: 34.79 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004677/2.196, allocations: 168.4 kB / 1.035 GB, free: 34.63 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009286/2.197, allocations: 205.8 kB / 1.035 GB, free: 34.43 MB / 490.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02113/2.218, allocations: 6.043 MB / 1.041 GB, free: 28.39 MB / 490.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01904/2.237, allocations: 8.411 MB / 1.049 GB, free: 19.91 MB / 490.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005007/2.242, allocations: 2.303 MB / 1.051 GB, free: 17.59 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.008149/2.25, allocations: 3.631 MB / 1.055 GB, free: 13.99 MB / 490.8 MB Notification: Performance of Backend: time 1.703e-06/2.25, allocations: 0 / 1.055 GB, free: 13.99 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01978/2.27, allocations: 6.581 MB / 1.061 GB, free: 7.465 MB / 490.8 MB Notification: Performance of SimCode: time 0.05281/2.323, allocations: 17.78 MB / 1.078 GB, free: 5.637 MB / 0.4949 GB Notification: Performance of Templates: time 0.5625/2.886, allocations: 70.47 MB / 1.147 GB, free: 160.6 MB / 0.5105 GB