Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_ForUsersGuide_Directions2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01111/0.01111, allocations: 106.9 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001204/0.001204, allocations: 169.1 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.619/1.619, allocations: 170.9 MB / 187.6 MB, free: 1 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2918/0.2918, allocations: 38.1 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004551/0.000455, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0898/0.0903, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.004118/0.09447, allocations: 2.205 MB / 374.5 MB, free: 10.63 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.09637, allocations: 0.7057 MB / 375.2 MB, free: 9.926 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002386/0.09666, allocations: 7.938 kB / 375.2 MB, free: 9.918 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.938e-05/0.09678, allocations: 43.69 kB / 375.2 MB, free: 9.875 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004073/0.09719, allocations: 131.6 kB / 375.4 MB, free: 9.746 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.09751, allocations: 63.92 kB / 375.4 MB, free: 9.684 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005398/0.09806, allocations: 307.4 kB / 375.7 MB, free: 9.383 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002663/0.09834, allocations: 104.2 kB / 375.8 MB, free: 9.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002721/0.09863, allocations: 147.5 kB / 376 MB, free: 9.125 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002858/0.09893, allocations: 155.3 kB / 376.1 MB, free: 8.973 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.977e-05/0.099, allocations: 20 kB / 376.2 MB, free: 8.953 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-05/0.0991, allocations: 20 kB / 376.2 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.583e-05/0.09921, allocations: 59.75 kB / 376.2 MB, free: 8.875 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.09933, allocations: 97.52 kB / 376.3 MB, free: 8.773 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004536/0.09979, allocations: 311.4 kB / 376.6 MB, free: 8.469 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.09981, allocations: 4 kB / 376.6 MB, free: 8.465 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.308e-06/0.09983, allocations: 0 / 376.6 MB, free: 8.465 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.09984, allocations: 3.938 kB / 376.6 MB, free: 8.461 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001231/0.1011, allocations: 0.581 MB / 377.2 MB, free: 7.832 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.1011, allocations: 11.97 kB / 377.2 MB, free: 7.82 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001201/0.1013, allocations: 82.52 kB / 377.3 MB, free: 7.73 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.347e-05/0.1014, allocations: 39.53 kB / 377.4 MB, free: 7.691 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.1018, allocations: 270.3 kB / 377.6 MB, free: 7.387 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/0.1018, allocations: 29 kB / 377.6 MB, free: 7.359 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.543e-05/0.1019, allocations: 40 kB / 377.7 MB, free: 7.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009459/0.1029, allocations: 394.1 kB / 378.1 MB, free: 6.898 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.645e-05/0.103, allocations: 7.906 kB / 378.1 MB, free: 6.891 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.857e-05/0.103, allocations: 19.98 kB / 378.1 MB, free: 6.871 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.103, allocations: 8 kB / 378.1 MB, free: 6.863 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007488/0.1038, allocations: 231.7 kB / 378.3 MB, free: 6.637 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003432/0.1073, allocations: 1.719 MB / 380.1 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006752/0.108, allocations: 274.3 kB / 380.3 MB, free: 4.48 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.321e-05/0.108, allocations: 4 kB / 380.3 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.575e-05/0.1081, allocations: 50.58 kB / 380.4 MB, free: 4.418 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 2.625e-06/0.1081, allocations: 0 / 380.4 MB, free: 4.418 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.001059/0.1092, allocations: 261.9 kB / 380.6 MB, free: 4.156 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.1093, allocations: 213.6 kB / 380.8 MB, free: 3.898 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004013/0.1097, allocations: 279.1 kB / 381.1 MB, free: 3.613 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.1098, allocations: 33.64 kB / 381.1 MB, free: 3.574 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.11, allocations: 239.6 kB / 381.4 MB, free: 3.336 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.1101, allocations: 126.3 kB / 381.5 MB, free: 3.211 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/0.1102, allocations: 8 kB / 381.5 MB, free: 3.203 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1103, allocations: 338.8 kB / 381.8 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003541/0.1107, allocations: 105.2 kB / 381.9 MB, free: 2.762 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000623/0.1113, allocations: 424.8 kB / 382.4 MB, free: 2.188 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000497/0.1119, allocations: 179.8 kB / 382.5 MB, free: 2.012 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.447e-06/0.1119, allocations: 4 kB / 382.5 MB, free: 2.008 MB / 282.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001395/0.1133, allocations: 0.5292 MB / 383.1 MB, free: 1.473 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.1133, allocations: 8 kB / 383.1 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/0.1134, allocations: 16 kB / 383.1 MB, free: 1.449 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.61e-05/0.1134, allocations: 20.09 kB / 383.1 MB, free: 1.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008429/0.1143, allocations: 147.7 kB / 383.3 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-05/0.1143, allocations: 23.92 kB / 383.3 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004849/0.1148, allocations: 79.56 kB / 383.4 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.526e-05/0.1149, allocations: 32 kB / 383.4 MB, free: 1.152 MB / 282.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.0002571/0.1152, allocations: 174.6 kB / 383.6 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.1154, allocations: 35.58 kB / 383.6 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.94e-05/0.1155, allocations: 33.83 kB / 383.6 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.1155, allocations: 8 kB / 383.6 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.1155, allocations: 0 / 383.6 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.1155, allocations: 11.92 kB / 383.6 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.1175, allocations: 0.6513 MB / 384.3 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/0.1176, allocations: 0 / 384.3 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009445/0.1185, allocations: 87.89 kB / 384.4 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/0.1186, allocations: 4 kB / 384.4 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.961e-05/0.1186, allocations: 15.98 kB / 384.4 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.1186, allocations: 4 kB / 384.4 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/0.1187, allocations: 12 kB / 384.4 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.1199, allocations: 0.9252 MB / 385.3 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001913/0.1201, allocations: 124.8 kB / 385.5 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.852e-05/0.1202, allocations: 8 kB / 385.5 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005574/0.1207, allocations: 12 kB / 385.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.552e-05/0.1208, allocations: 31.86 kB / 385.5 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.363e-05/0.1209, allocations: 11.98 kB / 385.5 MB, free: 14.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002855/0.1212, allocations: 178 kB / 385.7 MB, free: 14.67 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1212, allocations: 0 / 385.7 MB, free: 14.67 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001031/0.1222, allocations: 99.84 kB / 385.8 MB, free: 14.57 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.w) * 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 (26): * Single equations (assignments): 26 * 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 Backend phase and start with SimCode phase: time 0.001773/0.124, allocations: 2.054 MB / 387.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009004/0.125, allocations: 290 kB / 388.1 MB, free: 12.17 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.125, allocations: 0.8125 kB / 388.1 MB, free: 12.17 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003131/0.1253, allocations: 99.77 kB / 388.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009489/0.1263, allocations: 53.17 kB / 388.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/0.1366, allocations: 10.93 MB / 399.2 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006028/0.1372, allocations: 0.8033 MB / 400 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003208/0.1376, allocations: 47.25 kB / 400.1 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/0.1378, allocations: 111.4 kB / 400.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1378, allocations: 0 / 400.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02923/0.1671, allocations: 5.951 MB / 406.1 MB, free: 9.961 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003128/0.1674, allocations: 198.3 kB / 406.3 MB, free: 9.707 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.514/2.682, allocations: 4 kB / 406.3 MB, free: 9.703 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat does not exist to compare? outputFormat=mat