Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.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.Directions,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_ForUsersGuide_Directions",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.01187/0.01187, allocations: 103.6 kB / 15.05 MB, free: 5.551 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.001367/0.001367, allocations: 168.7 kB / 15.93 MB, free: 5.523 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.772/1.772, allocations: 170.9 MB / 187.5 MB, free: 0.9922 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.2671/0.2671, allocations: 38.1 MB / 265.1 MB, free: 3.957 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004586/0.0004587, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1376, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.005785/0.1435, allocations: 2.201 MB / 374.5 MB, free: 10.64 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002539/0.1461, allocations: 0.7213 MB / 375.2 MB, free: 9.914 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000376/0.1466, allocations: 8 kB / 375.2 MB, free: 9.906 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.1467, allocations: 39.62 kB / 375.3 MB, free: 9.867 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006635/0.1474, allocations: 123.7 kB / 375.4 MB, free: 9.746 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004632/0.1479, allocations: 71.92 kB / 375.5 MB, free: 9.676 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009491/0.1489, allocations: 315.7 kB / 375.8 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004683/0.1494, allocations: 145.4 kB / 375.9 MB, free: 9.223 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004849/0.1499, allocations: 139.4 kB / 376 MB, free: 9.086 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004046/0.1503, allocations: 167.2 kB / 376.2 MB, free: 8.922 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.1504, allocations: 20 kB / 376.2 MB, free: 8.902 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.1506, allocations: 20 kB / 376.2 MB, free: 8.883 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.1507, allocations: 59.75 kB / 376.3 MB, free: 8.824 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002048/0.1509, allocations: 101.5 kB / 376.4 MB, free: 8.719 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007534/0.1517, allocations: 319.3 kB / 376.7 MB, free: 8.406 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.066e-06/0.1518, allocations: 0 / 376.7 MB, free: 8.406 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.1518, allocations: 3.938 kB / 376.7 MB, free: 8.402 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.1518, allocations: 0 / 376.7 MB, free: 8.402 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.002036/0.1538, allocations: 0.6121 MB / 377.3 MB, free: 7.742 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.735e-05/0.1539, allocations: 8.031 kB / 377.3 MB, free: 7.734 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001858/0.1541, allocations: 78.52 kB / 377.4 MB, free: 7.648 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.1543, allocations: 43.53 kB / 377.5 MB, free: 7.605 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006693/0.155, allocations: 287.1 kB / 377.7 MB, free: 7.285 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.749e-05/0.1551, allocations: 29 kB / 377.8 MB, free: 7.258 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.1553, allocations: 43.91 kB / 377.8 MB, free: 7.215 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/0.1569, allocations: 381 kB / 378.2 MB, free: 6.824 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.766e-05/0.157, allocations: 4 kB / 378.2 MB, free: 6.82 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.5e-05/0.1571, allocations: 12 kB / 378.2 MB, free: 6.809 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.721e-05/0.1572, allocations: 12 kB / 378.2 MB, free: 6.797 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/0.1586, allocations: 259.8 kB / 378.5 MB, free: 6.543 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003805/0.1624, allocations: 1.117 MB / 379.6 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.1638, allocations: 359.5 kB / 379.9 MB, free: 4.988 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.31e-05/0.1639, allocations: 8 kB / 379.9 MB, free: 4.98 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.045e-05/0.164, allocations: 46.48 kB / 380 MB, free: 4.926 MB / 282.7 MB Notification: Performance of pre-optimization done (n=39): time 3.446e-06/0.164, allocations: 0 / 380 MB, free: 4.926 MB / 282.7 MB Notification: Performance of matching and sorting (n=57): time 0.008898/0.1729, allocations: 2.478 MB / 382.5 MB, free: 2.18 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.1731, allocations: 106.8 kB / 382.6 MB, free: 2.051 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005496/0.1737, allocations: 250.7 kB / 382.8 MB, free: 1.797 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.368e-05/0.1737, allocations: 37.7 kB / 382.8 MB, free: 1.754 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/0.174, allocations: 180.7 kB / 383 MB, free: 1.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000296/0.1743, allocations: 197 kB / 383.2 MB, free: 1.375 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.533e-05/0.1744, allocations: 12 kB / 383.2 MB, free: 1.363 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002518/0.1746, allocations: 346.8 kB / 383.6 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006713/0.1753, allocations: 137 kB / 383.7 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007955/0.1761, allocations: 235.8 kB / 383.9 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008467/0.177, allocations: 159.9 kB / 384.1 MB, free: 472 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.177, allocations: 0 / 384.1 MB, free: 472 kB / 282.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002572/0.1796, allocations: 0.5694 MB / 384.7 MB, free: 15.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.1797, allocations: 8 kB / 384.7 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.1797, allocations: 4 kB / 384.7 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007941/0.1805, allocations: 122.5 kB / 384.8 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009793/0.1815, allocations: 99.81 kB / 384.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008329/0.1899, allocations: 4.716 MB / 389.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006455/0.1906, allocations: 24.03 kB / 389.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-05/0.1906, allocations: 28 kB / 389.6 MB, free: 10.47 MB / 298.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.0004399/0.1911, allocations: 169.8 kB / 389.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/0.1914, allocations: 31.62 kB / 389.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/0.1915, allocations: 46.17 kB / 389.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.1915, allocations: 11.98 kB / 389.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.231e-05/0.1916, allocations: 3.953 kB / 389.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.1916, allocations: 4 kB / 389.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004816/0.1964, allocations: 1.344 MB / 391.3 MB, free: 8.789 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.188e-06/0.1965, allocations: 0 / 391.3 MB, free: 8.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/0.1977, allocations: 99.88 kB / 391.3 MB, free: 8.691 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006538/0.1984, allocations: 98.55 kB / 391.4 MB, free: 8.586 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.224e-05/0.1984, allocations: 12 kB / 391.5 MB, free: 8.574 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006503/0.205, allocations: 4.135 MB / 395.6 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.215e-05/0.205, allocations: 11.91 kB / 395.6 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003285/0.2083, allocations: 0.9941 MB / 396.6 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003263/0.2087, allocations: 140.7 kB / 396.7 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.2088, allocations: 15.95 kB / 396.8 MB, free: 2.789 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007605/0.2096, allocations: 15.98 kB / 396.8 MB, free: 2.773 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002299/0.2098, allocations: 43.94 kB / 396.8 MB, free: 2.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.447e-05/0.2099, allocations: 20 kB / 396.8 MB, free: 2.711 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003543/0.2103, allocations: 174 kB / 397 MB, free: 2.539 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.2103, allocations: 3.938 kB / 397 MB, free: 2.535 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001838/0.2122, allocations: 120 kB / 397.1 MB, free: 2.418 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * 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%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00405/0.2162, allocations: 1.893 MB / 399 MB, free: 464 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002648/0.2189, allocations: 0.7816 MB / 399.8 MB, free: 15.63 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.219, allocations: 0 / 399.8 MB, free: 15.63 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00173/0.2207, allocations: 0.5834 MB / 400.4 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.2219, allocations: 50.39 kB / 400.4 MB, free: 14.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/0.2328, allocations: 4.331 MB / 404.8 MB, free: 10.51 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008082/0.2337, allocations: 0.828 MB / 405.6 MB, free: 9.652 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003585/0.2341, allocations: 35.28 kB / 405.6 MB, free: 9.617 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003892/0.2345, allocations: 131.3 kB / 405.7 MB, free: 9.488 MB / 314.7 MB Notification: Performance of SimCode: time 1.072e-06/0.2345, allocations: 0 / 405.7 MB, free: 9.488 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03627/0.2708, allocations: 7.449 MB / 413.2 MB, free: 2.141 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002986/0.2712, allocations: 201.8 kB / 413.4 MB, free: 1.902 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.623/2.894, allocations: 0 / 413.4 MB, free: 1.902 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat does not exist to compare? outputFormat=mat