Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01676/0.01676, allocations: 107.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.2.mo): time 0.002168/0.002169, allocations: 181.4 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.142/2.142, allocations: 194.5 MB / 211.3 MB, free: 11.03 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.3124/0.3124, allocations: 40.04 MB / 296.5 MB, free: 6.242 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004761/0.0004761, allocations: 8 kB / 361.1 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1192, allocations: 54.89 MB / 416 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.0023/0.1215, allocations: 1.275 MB / 417.3 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003651/0.1219, allocations: 111.7 kB / 417.4 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.649e-05/0.122, allocations: 0 / 417.4 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.511e-05/0.1221, allocations: 11.92 kB / 417.4 MB, free: 1.148 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001771/0.1223, allocations: 43.84 kB / 417.5 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001356/0.1224, allocations: 23.91 kB / 417.5 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.1226, allocations: 83.83 kB / 417.6 MB, free: 1 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.1228, allocations: 25.11 kB / 417.6 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.25e-05/0.1229, allocations: 43.84 kB / 417.6 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.527e-05/0.123, allocations: 39.84 kB / 417.7 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.123, allocations: 8 kB / 417.7 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.877e-05/0.1231, allocations: 4 kB / 417.7 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.115e-05/0.1231, allocations: 23.92 kB / 417.7 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.168e-05/0.1232, allocations: 53.58 kB / 417.8 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.1233, allocations: 88.02 kB / 417.8 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1234, allocations: 0 / 417.8 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1234, allocations: 0 / 417.8 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1234, allocations: 0 / 417.8 MB, free: 0.7109 MB / 346.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.0005754/0.124, allocations: 391.2 kB / 418.2 MB, free: 284 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.124, allocations: 8.031 kB / 418.2 MB, free: 276 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.847e-05/0.1241, allocations: 42.56 kB / 418.3 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/0.1241, allocations: 19.81 kB / 418.3 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.1244, allocations: 187 kB / 418.5 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.1245, allocations: 8.234 kB / 418.5 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.106e-05/0.1245, allocations: 12 kB / 418.5 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003225/0.1249, allocations: 132.9 kB / 418.6 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.1249, allocations: 3.906 kB / 418.6 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.1249, allocations: 8 kB / 418.6 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.1249, allocations: 3.984 kB / 418.6 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.1251, allocations: 63.91 kB / 418.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.1262, allocations: 0.5411 MB / 419.2 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.1264, allocations: 81.17 kB / 419.3 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.1265, allocations: 4 kB / 419.3 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/0.1265, allocations: 34.56 kB / 419.4 MB, free: 14.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 2.886e-06/0.1265, allocations: 0 / 419.4 MB, free: 14.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008272/0.1274, allocations: 305.4 kB / 419.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.462e-05/0.1274, allocations: 85.05 kB / 419.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.1276, allocations: 121.6 kB / 419.9 MB, free: 14.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.1276, allocations: 25.7 kB / 419.9 MB, free: 14.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.445e-05/0.1277, allocations: 127.6 kB / 420 MB, free: 14.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.1278, allocations: 27.56 kB / 420 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.587e-06/0.1278, allocations: 8 kB / 420 MB, free: 14.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.128, allocations: 322.8 kB / 420.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.613e-05/0.128, allocations: 19.98 kB / 420.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.1282, allocations: 84.58 kB / 420.5 MB, free: 13.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.1283, allocations: 39.94 kB / 420.5 MB, free: 13.72 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/0.1283, allocations: 7.953 kB / 420.5 MB, free: 13.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004648/0.1288, allocations: 167.1 kB / 420.7 MB, free: 13.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.1288, allocations: 4 kB / 420.7 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.1288, allocations: 4 kB / 420.7 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002512/0.1291, allocations: 33.7 kB / 420.7 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.1293, allocations: 27.98 kB / 420.7 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002574/0.1319, allocations: 2.557 MB / 423.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.132, allocations: 11.84 kB / 423.3 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.1321, allocations: 7.938 kB / 423.3 MB, free: 10.62 MB / 362.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.0001607/0.1322, allocations: 130 kB / 423.4 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.591e-05/0.1323, allocations: 4 kB / 423.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.217e-05/0.1323, allocations: 15.89 kB / 423.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1324, allocations: 4 kB / 423.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.1324, allocations: 0 / 423.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1324, allocations: 3.953 kB / 423.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003704/0.1328, allocations: 205.5 kB / 423.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1328, allocations: 0 / 423.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.133, allocations: 15.98 kB / 423.7 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001768/0.1332, allocations: 37.64 kB / 423.7 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.1332, allocations: 8 kB / 423.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002593/0.1358, allocations: 2.529 MB / 426.3 MB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.1359, allocations: 12.02 kB / 426.3 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004851/0.1364, allocations: 318 kB / 426.6 MB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.1364, allocations: 81.02 kB / 426.7 MB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.1365, allocations: 8.031 kB / 426.7 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.1366, allocations: 4 kB / 426.7 MB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.1367, allocations: 11.94 kB / 426.7 MB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.1367, allocations: 4 kB / 426.7 MB, free: 6.867 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.411e-05/0.1368, allocations: 91.27 kB / 426.8 MB, free: 6.777 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1368, allocations: 0 / 426.8 MB, free: 6.777 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005082/0.1373, allocations: 35.94 kB / 426.8 MB, free: 6.742 MB / 362.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.0008441/0.1382, allocations: 0.9204 MB / 427.7 MB, free: 5.785 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006301/0.1388, allocations: 301.6 kB / 428 MB, free: 5.465 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1388, allocations: 0 / 428 MB, free: 5.465 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003804/0.1392, allocations: 249.4 kB / 428.3 MB, free: 5.195 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.1397, allocations: 32.48 kB / 428.3 MB, free: 5.164 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002715/0.1424, allocations: 2.358 MB / 430.7 MB, free: 2.711 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.1428, allocations: 0.7161 MB / 431.4 MB, free: 1.969 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.166e-05/0.1429, allocations: 8.891 kB / 431.4 MB, free: 1.957 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.622e-05/0.143, allocations: 31.42 kB / 431.4 MB, free: 1.926 MB / 362.7 MB Notification: Performance of SimCode: time 1.773e-06/0.143, allocations: 0 / 431.4 MB, free: 1.926 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02605/0.1691, allocations: 2.633 MB / 434.1 MB, free: 15.38 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002944/0.1694, allocations: 202.8 kB / 434.2 MB, free: 15.14 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.621/2.791, allocations: 7.938 kB / 434.3 MB, free: 15.13 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat does not exist to compare? outputFormat=mat