Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadModel(ModelicaTest): time 1.938/1.938, allocations: 209.3 MB / 224.8 MB, free: 1.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007779/0.000778, allocations: 12 kB / 282.5 MB, free: 9.777 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.122, allocations: 48.71 MB / 331.2 MB, free: 8.973 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002019/0.1241, allocations: 1.26 MB / 332.4 MB, free: 7.699 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002923/0.1244, allocations: 119.6 kB / 332.6 MB, free: 7.582 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.668e-05/0.1245, allocations: 0 / 332.6 MB, free: 7.582 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.3e-05/0.1246, allocations: 11.92 kB / 332.6 MB, free: 7.57 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.1247, allocations: 35.92 kB / 332.6 MB, free: 7.535 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00011/0.1248, allocations: 19.97 kB / 332.6 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.125, allocations: 87.81 kB / 332.7 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.1251, allocations: 33.08 kB / 332.7 MB, free: 7.398 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.255e-05/0.1252, allocations: 35.88 kB / 332.8 MB, free: 7.363 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.18e-05/0.1253, allocations: 47.77 kB / 332.8 MB, free: 7.316 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.1253, allocations: 8 kB / 332.8 MB, free: 7.309 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.43e-05/0.1254, allocations: 4 kB / 332.8 MB, free: 7.305 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.774e-05/0.1254, allocations: 19.92 kB / 332.9 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.461e-05/0.1255, allocations: 49.64 kB / 332.9 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.1256, allocations: 84.03 kB / 333 MB, free: 7.148 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.62e-06/0.1256, allocations: 4 kB / 333 MB, free: 7.145 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.382e-06/0.1256, allocations: 0 / 333 MB, free: 7.145 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.444e-06/0.1257, allocations: 0 / 333 MB, free: 7.145 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005256/0.1262, allocations: 383.3 kB / 333.4 MB, free: 6.719 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1262, allocations: 8.031 kB / 333.4 MB, free: 6.711 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.868e-05/0.1263, allocations: 11.91 kB / 333.4 MB, free: 6.699 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.1265, allocations: 198.8 kB / 333.6 MB, free: 6.465 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.1266, allocations: 8.234 kB / 333.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.993e-05/0.1266, allocations: 15.91 kB / 333.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.1269, allocations: 132.9 kB / 333.7 MB, free: 6.301 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.127, allocations: 0 / 333.7 MB, free: 6.301 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.127, allocations: 8 kB / 333.7 MB, free: 6.293 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.127, allocations: 4 kB / 333.7 MB, free: 6.289 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.1272, allocations: 63.94 kB / 333.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000962/0.1281, allocations: 0.541 MB / 334.4 MB, free: 5.625 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.1283, allocations: 93.16 kB / 334.4 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.1284, allocations: 4 kB / 334.4 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.1284, allocations: 30.56 kB / 334.5 MB, free: 5.473 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 2.25e-06/0.1284, allocations: 0 / 334.5 MB, free: 5.473 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000727/0.1292, allocations: 293.5 kB / 334.8 MB, free: 5.137 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/0.1293, allocations: 89.09 kB / 334.9 MB, free: 5.031 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.1294, allocations: 121.7 kB / 335 MB, free: 4.902 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.1294, allocations: 33.7 kB / 335 MB, free: 4.863 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.1296, allocations: 182.1 kB / 335.2 MB, free: 4.684 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.1296, allocations: 35.53 kB / 335.2 MB, free: 4.648 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.588e-06/0.1296, allocations: 4 kB / 335.2 MB, free: 4.645 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.1298, allocations: 310.8 kB / 335.5 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.163e-05/0.1299, allocations: 35.8 kB / 335.6 MB, free: 4.297 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.13, allocations: 92.58 kB / 335.6 MB, free: 4.176 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.016e-05/0.1301, allocations: 35.98 kB / 335.7 MB, free: 4.141 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.722e-06/0.1301, allocations: 4 kB / 335.7 MB, free: 4.137 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004027/0.1305, allocations: 163 kB / 335.8 MB, free: 3.965 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.1306, allocations: 4 kB / 335.9 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.1306, allocations: 16.2 kB / 335.9 MB, free: 3.945 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002181/0.1308, allocations: 37.64 kB / 335.9 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.131, allocations: 19.98 kB / 335.9 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002562/0.1335, allocations: 2.541 MB / 338.5 MB, free: 1.078 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.1337, allocations: 15.88 kB / 338.5 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.1337, allocations: 8 kB / 338.5 MB, free: 1.055 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001483/0.1339, allocations: 129.7 kB / 338.6 MB, free: 0.918 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.084e-05/0.1339, allocations: 11.86 kB / 338.6 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.657e-05/0.134, allocations: 12.09 kB / 338.6 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.18e-06/0.134, allocations: 4 kB / 338.6 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.552e-06/0.134, allocations: 4 kB / 338.6 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.542e-06/0.134, allocations: 0 / 338.6 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003515/0.1344, allocations: 197.6 kB / 338.8 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1344, allocations: 0 / 338.8 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.1345, allocations: 12 kB / 338.8 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001664/0.1347, allocations: 33.7 kB / 338.9 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.1348, allocations: 3.953 kB / 338.9 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2121/0.3468, allocations: 2.541 MB / 341.4 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.878e-06/0.3469, allocations: 4.375 kB / 341.4 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003517/0.3472, allocations: 307.5 kB / 341.7 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.157e-05/0.3473, allocations: 84.56 kB / 341.8 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.3473, allocations: 7.016 kB / 341.8 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.3475, allocations: 6.703 kB / 341.8 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.3475, allocations: 8.25 kB / 341.8 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.3475, allocations: 3 kB / 341.8 MB, free: 13 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.5e-05/0.3476, allocations: 92.25 kB / 341.9 MB, free: 12.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.14e-07/0.3476, allocations: 0 / 341.9 MB, free: 12.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004954/0.3481, allocations: 38.31 kB / 342 MB, free: 12.93 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001184/0.3483, allocations: 105.2 kB / 342.1 MB, free: 12.84 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004708/0.3487, allocations: 295.5 kB / 342.4 MB, free: 12.62 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.462e-06/0.3488, allocations: 0 / 342.4 MB, free: 12.62 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002852/0.3491, allocations: 261.1 kB / 342.6 MB, free: 12.4 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.3495, allocations: 21.09 kB / 342.6 MB, free: 12.4 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009365/0.3504, allocations: 0.5825 MB / 343.2 MB, free: 12.01 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/0.3506, allocations: 0.7212 MB / 343.9 MB, free: 11.31 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/0.3507, allocations: 11.78 kB / 343.9 MB, free: 11.3 MB / 282.7 MB Notification: Performance of SimCode: time 1.648e-06/0.3507, allocations: 0 / 343.9 MB, free: 11.3 MB / 282.7 MB Notification: Performance of Templates: time 0.005437/0.3561, allocations: 2.352 MB / 346.3 MB, free: 11.19 MB / 282.7 MB