Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions.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.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_TestBooleanFunctions",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.01099/0.01099, allocations: 108.5 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.001278/0.001278, allocations: 181.3 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.002/2.002, allocations: 194.6 MB / 211.3 MB, free: 11.23 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.3165/0.3165, allocations: 40.04 MB / 296.5 MB, free: 6.461 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004737/0.0004739, allocations: 16 kB / 361.1 MB, free: 9.562 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1138, allocations: 54.89 MB / 416 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0006509/0.1145, allocations: 224.4 kB / 416.2 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000957/0.1155, allocations: 321.6 kB / 416.6 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.171e-05/0.1155, allocations: 4 kB / 416.6 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.034e-05/0.1155, allocations: 4 kB / 416.6 MB, free: 2.031 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.131e-06/0.1155, allocations: 0 / 416.6 MB, free: 2.031 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007721/0.1163, allocations: 135.7 kB / 416.7 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 2.768e-05/0.1164, allocations: 0 / 416.7 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.592e-05/0.1164, allocations: 0 / 416.7 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.267e-05/0.1164, allocations: 0 / 416.7 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.171e-05/0.1165, allocations: 0 / 416.7 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.1165, allocations: 4 kB / 416.7 MB, free: 1.895 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003326/0.1168, allocations: 135.7 kB / 416.8 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.191e-06/0.1169, allocations: 0 / 416.8 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.765e-05/0.1169, allocations: 25.7 kB / 416.9 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.1171, allocations: 99.83 kB / 417 MB, free: 1.633 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1171, allocations: 0 / 417 MB, free: 1.633 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1172, allocations: 0 / 417 MB, free: 1.633 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.1172, allocations: 4 kB / 417 MB, free: 1.629 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003617/0.1175, allocations: 361.1 kB / 417.3 MB, free: 1.223 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.1176, allocations: 8.031 kB / 417.3 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.405e-05/0.1176, allocations: 34.55 kB / 417.3 MB, free: 1.172 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.252e-05/0.1177, allocations: 0 / 417.3 MB, free: 1.172 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.1178, allocations: 159.1 kB / 417.5 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.1178, allocations: 4 kB / 417.5 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.1178, allocations: 7.953 kB / 417.5 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.601e-05/0.1179, allocations: 33.64 kB / 417.5 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.1179, allocations: 0 / 417.5 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.118, allocations: 0 / 417.5 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.118, allocations: 4 kB / 417.6 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.86e-05/0.118, allocations: 0 / 417.6 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.1182, allocations: 145.7 kB / 417.7 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.336e-05/0.1182, allocations: 22.61 kB / 417.7 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.1182, allocations: 0 / 417.7 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.328e-05/0.1183, allocations: 64.22 kB / 417.8 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.343e-06/0.1183, allocations: 3.938 kB / 417.8 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001863/0.1185, allocations: 63.45 kB / 417.8 MB, free: 0.543 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.1186, allocations: 77.11 kB / 417.9 MB, free: 460 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.349e-05/0.1186, allocations: 93.8 kB / 418 MB, free: 356 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.1186, allocations: 25.7 kB / 418 MB, free: 324 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.563e-05/0.1187, allocations: 92.25 kB / 418.1 MB, free: 228 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.1187, allocations: 3.906 kB / 418.1 MB, free: 224 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-06/0.1187, allocations: 0 / 418.1 MB, free: 224 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1189, allocations: 314.8 kB / 418.4 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.031e-05/0.1189, allocations: 0 / 418.4 MB, free: 15.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.093e-06/0.1189, allocations: 0 / 418.4 MB, free: 15.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.102e-05/0.119, allocations: 29.7 kB / 418.5 MB, free: 15.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.119, allocations: 0 / 418.5 MB, free: 15.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.32e-05/0.1191, allocations: 71.39 kB / 418.5 MB, free: 15.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.55e-05/0.1191, allocations: 29.7 kB / 418.6 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.1191, allocations: 3.984 kB / 418.6 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1192, allocations: 3.953 kB / 418.6 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.456e-06/0.1192, allocations: 0 / 418.6 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1192, allocations: 3.938 kB / 418.6 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.004e-05/0.1192, allocations: 4 kB / 418.6 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1192, allocations: 0 / 418.6 MB, free: 15.73 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001051/0.1193, allocations: 139.5 kB / 418.7 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.1194, allocations: 8.031 kB / 418.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.443e-05/0.1194, allocations: 7.078 kB / 418.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.1194, allocations: 3.953 kB / 418.7 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1194, allocations: 0 / 418.7 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1194, allocations: 0 / 418.7 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.1195, allocations: 145.7 kB / 418.9 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1196, allocations: 4 kB / 418.9 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.397e-06/0.1196, allocations: 4 kB / 418.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1196, allocations: 0 / 418.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.1196, allocations: 0 / 418.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.1196, allocations: 3.984 kB / 418.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1196, allocations: 7.953 kB / 418.9 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.1198, allocations: 94.77 kB / 419 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.574e-05/0.1198, allocations: 77.11 kB / 419.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.1198, allocations: 0 / 419.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.542e-05/0.1199, allocations: 4 kB / 419.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.701e-05/0.1199, allocations: 0 / 419.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.1199, allocations: 3.953 kB / 419.1 MB, free: 15.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.298e-05/0.1199, allocations: 79.31 kB / 419.2 MB, free: 15.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.12, allocations: 0 / 419.2 MB, free: 15.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003852/0.1203, allocations: 51.98 kB / 419.2 MB, free: 15 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0008642/0.1212, allocations: 0.7101 MB / 419.9 MB, free: 14.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001048/0.1213, allocations: 59.41 kB / 420 MB, free: 14.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1214, allocations: 3.938 kB / 420 MB, free: 14.19 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.124e-05/0.1214, allocations: 55.41 kB / 420 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001025/0.1215, allocations: 0 / 420 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003602/0.1219, allocations: 128.6 kB / 420.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.1222, allocations: 0.6731 MB / 420.8 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.861e-06/0.1222, allocations: 4.125 kB / 420.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.815e-05/0.1222, allocations: 11.44 kB / 420.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of SimCode: time 6.82e-07/0.1222, allocations: 0 / 420.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.1472, allocations: 1.992 MB / 422.8 MB, free: 11.31 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003512/0.1476, allocations: 212 kB / 423 MB, free: 11.07 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.409/2.557, allocations: 4 kB / 423 MB, free: 11.07 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions_res.mat does not exist to compare? outputFormat=mat