Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") Notification: Performance of loadModel(Modelica): time 1.883/1.883, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003484, allocations: 8 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08908/0.08944, allocations: 44.51 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.401/0.4905, allocations: 93.81 MB / 402.9 MB, free: 7.512 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.05456/0.5451, allocations: 21.68 MB / 424.6 MB, free: 15.46 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02091/0.5661, allocations: 488.8 kB / 425 MB, free: 15.38 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01661/0.5828, allocations: 4.789 MB / 429.8 MB, free: 11.91 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05039/0.6332, allocations: 13.34 MB / 443.2 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009491/0.6427, allocations: 1.692 MB / 444.9 MB, free: 15.29 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.1743/0.8171, allocations: 50.74 MB / 495.6 MB, free: 12.49 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02721/0.8443, allocations: 12.78 MB / 0.4965 GB, free: 15.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006667/0.8511, allocations: 2.671 MB / 0.4991 GB, free: 12.94 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008136/0.8592, allocations: 3.572 MB / 0.5026 GB, free: 9.355 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002362/0.8617, allocations: 340 kB / 0.5029 GB, free: 9.023 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005336/0.867, allocations: 1.366 MB / 0.5042 GB, free: 7.656 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007064/0.8741, allocations: 3.92 MB / 0.5081 GB, free: 3.727 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003975/0.8782, allocations: 1.871 MB / 0.5099 GB, free: 1.844 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02308/0.9013, allocations: 14.36 MB / 0.5239 GB, free: 3.453 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.9013, allocations: 4 kB / 0.5239 GB, free: 3.449 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.696e-06/0.9014, allocations: 4 kB / 0.5239 GB, free: 3.445 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000508/0.9019, allocations: 0 / 0.5239 GB, free: 3.445 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2751 * Number of variables: 2751 Notification: Performance of Generate backend data structure: time 0.5433/1.445, allocations: 10.18 MB / 0.5338 GB, free: 160.4 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/1.445, allocations: 8.562 kB / 0.5339 GB, free: 160.4 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5943/2.04, allocations: 30.06 MB / 0.5632 GB, free: 136.2 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03176/2.071, allocations: 10.19 MB / 0.5732 GB, free: 126 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007309/2.072, allocations: 0.5234 MB / 0.5737 GB, free: 125.6 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003438/2.076, allocations: 0.7242 MB / 0.5744 GB, free: 124.9 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05501/2.131, allocations: 19.43 MB / 0.5934 GB, free: 104.5 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005392/2.131, allocations: 98.39 kB / 0.5934 GB, free: 104.5 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00299/2.134, allocations: 328.9 kB / 0.5938 GB, free: 104.2 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006065/2.14, allocations: 2.76 MB / 0.5965 GB, free: 101.4 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04926/2.19, allocations: 15.81 MB / 0.6119 GB, free: 85.61 MB / 426.8 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.1265/2.316, allocations: 72.98 MB / 0.6832 GB, free: 10.91 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03619/2.352, allocations: 8.081 MB / 0.6911 GB, free: 2.688 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3019/2.654, allocations: 14.37 MB / 0.7051 GB, free: 144 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.039e-05/2.655, allocations: 71.75 kB / 0.7052 GB, free: 144 MB / 426.8 MB Notification: Performance of pre-optimization done (n=308): time 7.343e-06/2.655, allocations: 0 / 0.7052 GB, free: 144 MB / 426.8 MB Notification: Performance of matching and sorting (n=408): time 0.2923/2.947, allocations: 48.31 MB / 0.7523 GB, free: 109.9 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/2.947, allocations: 409.2 kB / 0.7527 GB, free: 109.5 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01635/2.963, allocations: 8.368 MB / 0.7609 GB, free: 101.1 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001012/2.964, allocations: 93.7 kB / 0.761 GB, free: 101 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004985/2.969, allocations: 5.824 MB / 0.7667 GB, free: 95.17 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002123/2.972, allocations: 1.478 MB / 0.7681 GB, free: 93.71 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001156/2.973, allocations: 188.9 kB / 0.7683 GB, free: 93.52 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0005557/2.973, allocations: 0.6867 MB / 0.769 GB, free: 92.83 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01009/2.983, allocations: 4.316 MB / 0.7732 GB, free: 88.5 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01269/2.996, allocations: 9.249 MB / 0.7822 GB, free: 76.91 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01304/3.009, allocations: 6.211 MB / 0.7883 GB, free: 70.69 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001246/3.01, allocations: 48 kB / 0.7883 GB, free: 70.64 MB / 426.8 MB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.05465/3.064, allocations: 17.6 MB / 0.8055 GB, free: 53 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/3.064, allocations: 79.98 kB / 0.8056 GB, free: 52.93 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001783/3.065, allocations: 172.1 kB / 0.8058 GB, free: 52.76 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02673/3.091, allocations: 5.034 MB / 0.8107 GB, free: 47.71 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01129/3.103, allocations: 1.938 MB / 0.8126 GB, free: 45.77 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06553/3.168, allocations: 27.89 MB / 0.8398 GB, free: 17.75 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0112/3.179, allocations: 0.5499 MB / 0.8403 GB, free: 17.2 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001813/3.181, allocations: 0.5039 MB / 0.8408 GB, free: 16.7 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 778 * Number of states: 0 () * Number of discrete variables: 70 (jointRRP.jointUSP.prismatic.positiveBranch,jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Mid.color[3],Mid.color[2],Mid.color[1],Crank2.color[3],Crank2.color[2],Crank2.color[1],Crank2.body.sphereColor[3],Crank2.body.sphereColor[2],Crank2.body.sphereColor[1],Crank1.color[3],Crank1.color[2],Crank1.color[1],Crank1.body.sphereColor[3],Crank1.body.sphereColor[2],Crank1.body.sphereColor[1],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank4.color[3],Crank4.color[2],Crank4.color[1],Crank4.body.sphereColor[3],Crank4.body.sphereColor[2],Crank4.body.sphereColor[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],Bearing.cylinderColor[3],Bearing.cylinderColor[2],Bearing.cylinderColor[1],Rod2.color[3],Rod2.color[2],Rod2.color[1],Rod2.body.sphereColor[3],Rod2.body.sphereColor[2],Rod2.body.sphereColor[1],Piston.color[3],Piston.color[2],Piston.color[1],Piston.body.sphereColor[3],Piston.body.sphereColor[2],Piston.body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1048): * Single equations (assignments): 1043 * Array equations: 4 * 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 {(3,100.0%) 124} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2959/3.477, allocations: 4.066 MB / 0.8448 GB, free: 129.2 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002807/3.48, allocations: 0.713 MB / 0.8455 GB, free: 129.2 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06223/3.542, allocations: 11.42 MB / 0.8567 GB, free: 126.9 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001144/3.542, allocations: 21.45 kB / 0.8567 GB, free: 126.9 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.988e-05/3.542, allocations: 0 / 0.8567 GB, free: 126.9 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007283/3.55, allocations: 1.458 MB / 0.8581 GB, free: 126.4 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003547/3.553, allocations: 64.34 kB / 0.8582 GB, free: 126.4 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01005/3.564, allocations: 262 kB / 0.8584 GB, free: 126.3 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002224/3.566, allocations: 332.9 kB / 0.8587 GB, free: 126.3 MB / 426.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05555/3.621, allocations: 11.26 MB / 0.8697 GB, free: 122.5 MB / 426.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03957/3.661, allocations: 12.9 MB / 0.8823 GB, free: 117.1 MB / 426.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01061/3.672, allocations: 3.671 MB / 0.8859 GB, free: 115.6 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.01717/3.689, allocations: 5.495 MB / 0.8913 GB, free: 111.3 MB / 426.8 MB Notification: Performance of Backend: time 1.573e-06/3.689, allocations: 0 / 0.8913 GB, free: 111.3 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.02954/3.719, allocations: 7.917 MB / 0.899 GB, free: 103.9 MB / 426.8 MB Notification: Performance of SimCode: time 0.05333/3.772, allocations: 23.01 MB / 0.9215 GB, free: 81.17 MB / 426.8 MB Notification: Performance of Templates: time 0.548/4.32, allocations: 106.8 MB / 1.026 GB, free: 119.8 MB / 426.8 MB