Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003846/0.003851, allocations: 349.5 kB / 15.95 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.617/3.617, allocations: 341.5 MB / 358.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003538/0.003538, allocations: 237 kB / 397.9 MB, free: 4.965 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5315/0.5315, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006528/0.000653, allocations: 8 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09477/0.09546, allocations: 48.71 MB / 0.6067 GB, free: 4.648 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.004773/0.1003, allocations: 2.346 MB / 0.609 GB, free: 2.285 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00244/0.1028, allocations: 0.6741 MB / 0.6097 GB, free: 1.609 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004851/0.1034, allocations: 11.94 kB / 0.6097 GB, free: 1.598 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001675/0.1036, allocations: 35.7 kB / 0.6097 GB, free: 1.562 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006363/0.1042, allocations: 119.1 kB / 0.6099 GB, free: 1.445 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000437/0.1047, allocations: 59.94 kB / 0.6099 GB, free: 1.387 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.2804/0.3851, allocations: 401.5 kB / 0.6103 GB, free: 88.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003733/0.3855, allocations: 105.9 kB / 0.6104 GB, free: 88.69 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004322/0.386, allocations: 149.5 kB / 0.6105 GB, free: 88.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003451/0.3863, allocations: 153.6 kB / 0.6107 GB, free: 88.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.113e-05/0.3864, allocations: 20.33 kB / 0.6107 GB, free: 88.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.3866, allocations: 19 kB / 0.6107 GB, free: 88.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.4e-05/0.3867, allocations: 60.53 kB / 0.6108 GB, free: 88.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.3868, allocations: 103.5 kB / 0.6109 GB, free: 88.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007003/0.3876, allocations: 308.5 kB / 0.6112 GB, free: 88.56 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.3876, allocations: 0.7031 kB / 0.6112 GB, free: 88.56 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.486e-06/0.3876, allocations: 1.344 kB / 0.6112 GB, free: 88.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.3876, allocations: 0 / 0.6112 GB, free: 88.56 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.00161/0.3892, allocations: 0.5884 MB / 0.6117 GB, free: 88.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.3893, allocations: 8.719 kB / 0.6118 GB, free: 88.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.3895, allocations: 44.25 kB / 0.6118 GB, free: 88.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005118/0.39, allocations: 272.5 kB / 0.6121 GB, free: 87.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.927e-05/0.3901, allocations: 28.25 kB / 0.6121 GB, free: 87.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.3902, allocations: 45.33 kB / 0.6121 GB, free: 87.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.3917, allocations: 391.3 kB / 0.6125 GB, free: 87.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.066e-05/0.3918, allocations: 12.12 kB / 0.6125 GB, free: 87.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.599e-05/0.3919, allocations: 19.55 kB / 0.6125 GB, free: 87.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.885e-05/0.392, allocations: 8.594 kB / 0.6125 GB, free: 87.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.393, allocations: 233.1 kB / 0.6128 GB, free: 87.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004716/0.3978, allocations: 1.717 MB / 0.6144 GB, free: 86.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009162/0.3988, allocations: 267 kB / 0.6147 GB, free: 86.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003677/0.3992, allocations: 104.1 kB / 0.6148 GB, free: 86.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.955e-05/0.3992, allocations: 3.656 kB / 0.6148 GB, free: 86.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.3993, allocations: 44.27 kB / 0.6148 GB, free: 86.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 3.857e-06/0.3993, allocations: 0 / 0.6148 GB, free: 86.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.00153/0.4008, allocations: 275.2 kB / 0.6151 GB, free: 86.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.226e-05/0.4009, allocations: 215.3 kB / 0.6153 GB, free: 86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005678/0.4015, allocations: 272.6 kB / 0.6156 GB, free: 85.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.963e-05/0.4016, allocations: 31.98 kB / 0.6156 GB, free: 85.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.4018, allocations: 243.4 kB / 0.6158 GB, free: 85.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.402, allocations: 121.5 kB / 0.6159 GB, free: 85.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.402, allocations: 10.53 kB / 0.616 GB, free: 85.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.4022, allocations: 348.1 kB / 0.6163 GB, free: 85.31 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005252/0.4027, allocations: 98.89 kB / 0.6164 GB, free: 85.31 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007917/0.4035, allocations: 432.1 kB / 0.6168 GB, free: 84.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006252/0.4042, allocations: 167 kB / 0.6169 GB, free: 84.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.742e-05/0.4042, allocations: 4.094 kB / 0.617 GB, free: 84.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00205/0.4063, allocations: 0.5327 MB / 0.6175 GB, free: 84.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/0.4064, allocations: 10.19 kB / 0.6175 GB, free: 84.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/0.4064, allocations: 14.97 kB / 0.6175 GB, free: 84.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.25e-05/0.4064, allocations: 17.84 kB / 0.6175 GB, free: 84.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009044/0.4074, allocations: 147.3 kB / 0.6177 GB, free: 84.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.688e-05/0.4074, allocations: 22.94 kB / 0.6177 GB, free: 84.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005167/0.4079, allocations: 74.31 kB / 0.6177 GB, free: 84.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.565e-05/0.408, allocations: 35.81 kB / 0.6178 GB, free: 84.72 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002646/0.4083, allocations: 177.8 kB / 0.618 GB, free: 84.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000202/0.4085, allocations: 37.58 kB / 0.618 GB, free: 84.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.073e-05/0.4086, allocations: 33.88 kB / 0.618 GB, free: 84.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.4086, allocations: 7.984 kB / 0.618 GB, free: 84.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.4086, allocations: 2.156 kB / 0.618 GB, free: 84.56 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.4088, allocations: 123 kB / 0.6181 GB, free: 84.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.914e-05/0.4089, allocations: 9.844 kB / 0.6182 GB, free: 84.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004932/0.4094, allocations: 13.56 kB / 0.6182 GB, free: 84.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.169e-05/0.4095, allocations: 21.55 kB / 0.6182 GB, free: 84.44 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00165/0.4111, allocations: 0.8346 MB / 0.619 GB, free: 83.87 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001227/0.4124, allocations: 0.9558 MB / 0.6199 GB, free: 83.19 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003179/0.4128, allocations: 89.39 kB / 0.62 GB, free: 83.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003026/0.4131, allocations: 188.4 kB / 0.6202 GB, free: 83.11 MB / 362.7 MB Notification: Performance of Backend: time 9.52e-07/0.4131, allocations: 0 / 0.6202 GB, free: 83.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001723/0.4148, allocations: 319.6 kB / 0.6205 GB, free: 83 MB / 362.7 MB Notification: Performance of SimCode: time 0.004131/0.419, allocations: 2.348 MB / 0.6228 GB, free: 81.36 MB / 362.7 MB Notification: Performance of Templates: time 0.01217/0.4312, allocations: 3.076 MB / 0.6258 GB, free: 81.21 MB / 362.7 MB