Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.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.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003996/0.004, allocations: 350.9 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.748/3.748, allocations: 341.5 MB / 358.2 MB, free: 12.64 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.003422/0.003422, allocations: 221.2 kB / 397.9 MB, free: 4.98 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.5348/0.5348, allocations: 76.08 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004566/0.0004568, allocations: 12 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09129/0.09178, allocations: 48.71 MB / 0.6067 GB, free: 4.648 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004216/0.09606, allocations: 2.346 MB / 0.609 GB, free: 2.285 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.09769, allocations: 0.7012 MB / 0.6097 GB, free: 1.582 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002215/0.09793, allocations: 11.94 kB / 0.6097 GB, free: 1.57 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.09806, allocations: 43.7 kB / 0.6098 GB, free: 1.527 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004246/0.09849, allocations: 103.1 kB / 0.6099 GB, free: 1.426 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.09885, allocations: 71.86 kB / 0.6099 GB, free: 1.355 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.2939/0.3928, allocations: 411.4 kB / 0.6103 GB, free: 88.64 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003414/0.3932, allocations: 134.2 kB / 0.6105 GB, free: 88.63 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002814/0.3935, allocations: 140 kB / 0.6106 GB, free: 88.61 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002818/0.3938, allocations: 162.3 kB / 0.6107 GB, free: 88.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.267e-05/0.3939, allocations: 19.59 kB / 0.6108 GB, free: 88.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.098e-05/0.394, allocations: 18.59 kB / 0.6108 GB, free: 88.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.62e-05/0.394, allocations: 60.11 kB / 0.6108 GB, free: 88.56 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.765e-05/0.3941, allocations: 97.58 kB / 0.6109 GB, free: 88.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004897/0.3946, allocations: 326.9 kB / 0.6112 GB, free: 88.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3947, allocations: 1.094 kB / 0.6112 GB, free: 88.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3947, allocations: 3.094 kB / 0.6113 GB, free: 88.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.3947, allocations: 0 / 0.6113 GB, free: 88.49 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001226/0.3959, allocations: 0.6142 MB / 0.6119 GB, free: 88.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.396, allocations: 9.156 kB / 0.6119 GB, free: 88.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.3961, allocations: 41.38 kB / 0.6119 GB, free: 88.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004191/0.3965, allocations: 282.1 kB / 0.6122 GB, free: 87.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/0.3966, allocations: 28.66 kB / 0.6122 GB, free: 87.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.693e-05/0.3967, allocations: 41.2 kB / 0.6122 GB, free: 87.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.3978, allocations: 385.5 kB / 0.6126 GB, free: 87.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.354e-05/0.3978, allocations: 6.953 kB / 0.6126 GB, free: 87.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.965e-05/0.3979, allocations: 18.28 kB / 0.6126 GB, free: 87.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.3979, allocations: 13.97 kB / 0.6126 GB, free: 87.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008951/0.3988, allocations: 253.2 kB / 0.6129 GB, free: 87.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002518/0.4014, allocations: 1.124 MB / 0.614 GB, free: 87.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008595/0.4023, allocations: 364.6 kB / 0.6143 GB, free: 87.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004791/0.4028, allocations: 178.4 kB / 0.6145 GB, free: 87.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.894e-05/0.4028, allocations: 9.328 kB / 0.6145 GB, free: 87.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.4028, allocations: 37.78 kB / 0.6145 GB, free: 87.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 3.216e-06/0.4029, allocations: 0 / 0.6145 GB, free: 87.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.005788/0.4087, allocations: 2.476 MB / 0.617 GB, free: 85.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.4088, allocations: 111.8 kB / 0.6171 GB, free: 85.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003562/0.4091, allocations: 245.9 kB / 0.6173 GB, free: 85.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/0.4092, allocations: 35.77 kB / 0.6173 GB, free: 85.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.4093, allocations: 179.8 kB / 0.6175 GB, free: 85.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.4095, allocations: 198.3 kB / 0.6177 GB, free: 85.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.4095, allocations: 9.625 kB / 0.6177 GB, free: 85.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.828e-05/0.4097, allocations: 346 kB / 0.618 GB, free: 84.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004426/0.4101, allocations: 133.7 kB / 0.6182 GB, free: 84.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007873/0.4109, allocations: 239.7 kB / 0.6184 GB, free: 84.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007724/0.4117, allocations: 163.1 kB / 0.6185 GB, free: 84.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.4117, allocations: 1.188 kB / 0.6185 GB, free: 84.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00255/0.4143, allocations: 0.5656 MB / 0.6191 GB, free: 84.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.011e-05/0.4144, allocations: 5.875 kB / 0.6191 GB, free: 84.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/0.4144, allocations: 8.375 kB / 0.6191 GB, free: 84.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008727/0.4153, allocations: 124.8 kB / 0.6192 GB, free: 84.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.4164, allocations: 105 kB / 0.6193 GB, free: 84.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006686/0.4231, allocations: 4.666 MB / 0.6239 GB, free: 80.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006996/0.4238, allocations: 23.14 kB / 0.6239 GB, free: 80.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.424, allocations: 20.25 kB / 0.6239 GB, free: 80.5 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004603/0.4245, allocations: 168.2 kB / 0.6241 GB, free: 80.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002257/0.4247, allocations: 37.75 kB / 0.6241 GB, free: 80.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001956/0.4249, allocations: 47.95 kB / 0.6242 GB, free: 80.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.809e-05/0.4249, allocations: 4.672 kB / 0.6242 GB, free: 80.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.425, allocations: 2.438 kB / 0.6242 GB, free: 80.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002978/0.4253, allocations: 143.3 kB / 0.6243 GB, free: 80.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.4254, allocations: 14.41 kB / 0.6243 GB, free: 80.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006613/0.4261, allocations: 19.72 kB / 0.6243 GB, free: 80.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002054/0.4263, allocations: 47.92 kB / 0.6244 GB, free: 80.24 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00354/0.4299, allocations: 0.8404 MB / 0.6252 GB, free: 79.93 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002671/0.4326, allocations: 0.9538 MB / 0.6261 GB, free: 79.34 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007167/0.4334, allocations: 173 kB / 0.6263 GB, free: 79.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003419/0.4338, allocations: 176 kB / 0.6265 GB, free: 79.18 MB / 362.7 MB Notification: Performance of Backend: time 2.134e-06/0.4338, allocations: 0.5625 kB / 0.6265 GB, free: 79.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002984/0.4368, allocations: 0.7161 MB / 0.6272 GB, free: 78.66 MB / 362.7 MB Notification: Performance of SimCode: time 0.003803/0.4406, allocations: 1.794 MB / 0.6289 GB, free: 77.34 MB / 362.7 MB Notification: Performance of Templates: time 0.01493/0.4556, allocations: 4.241 MB / 0.6331 GB, free: 77.16 MB / 362.7 MB