Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.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.Utilities.TestFiles,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Utilities_TestFiles",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.01528/0.01528, allocations: 106.2 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.002005/0.002004, allocations: 178.2 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.214/2.214, allocations: 194.6 MB / 211.3 MB, free: 10.97 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.2776/0.2776, allocations: 40.04 MB / 296.5 MB, free: 6.277 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006506/0.0006507, allocations: 12 kB / 361.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1156, allocations: 54.89 MB / 416 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.0006321/0.1162, allocations: 216.4 kB / 416.2 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008184/0.1171, allocations: 313.3 kB / 416.5 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.912e-05/0.1171, allocations: 0 / 416.5 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.005e-05/0.1171, allocations: 0 / 416.5 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.159e-06/0.1172, allocations: 0 / 416.5 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.1175, allocations: 67.8 kB / 416.6 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.07e-05/0.1176, allocations: 4 kB / 416.6 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.792e-05/0.1176, allocations: 0 / 416.6 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.166e-05/0.1177, allocations: 4 kB / 416.6 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.842e-05/0.1177, allocations: 7.938 kB / 416.6 MB, free: 1.961 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.131e-06/0.1177, allocations: 0 / 416.6 MB, free: 1.961 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000218/0.118, allocations: 83.92 kB / 416.7 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.231e-06/0.118, allocations: 3.938 kB / 416.7 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.159e-05/0.118, allocations: 29.7 kB / 416.7 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.1182, allocations: 59.91 kB / 416.8 MB, free: 1.781 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1182, allocations: 0 / 416.8 MB, free: 1.781 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1182, allocations: 4 kB / 416.8 MB, free: 1.777 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.1182, allocations: 4 kB / 416.8 MB, free: 1.773 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.0003305/0.1186, allocations: 357.1 kB / 417.1 MB, free: 1.371 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.1186, allocations: 8.031 kB / 417.2 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.442e-05/0.1187, allocations: 30.56 kB / 417.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.429e-05/0.1187, allocations: 4 kB / 417.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.1188, allocations: 163.1 kB / 417.3 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-06/0.1188, allocations: 0 / 417.3 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.1189, allocations: 0 / 417.3 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.63e-05/0.119, allocations: 45.59 kB / 417.4 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.119, allocations: 7.922 kB / 417.4 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.119, allocations: 0 / 417.4 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.119, allocations: 0 / 417.4 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.794e-05/0.119, allocations: 0 / 417.4 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.1192, allocations: 149.7 kB / 417.5 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.988e-05/0.1192, allocations: 14.58 kB / 417.6 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-06/0.1192, allocations: 0 / 417.6 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.227e-05/0.1193, allocations: 68.3 kB / 417.6 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.593e-06/0.1193, allocations: 4 kB / 417.6 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001819/0.1195, allocations: 63.34 kB / 417.7 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.1196, allocations: 81.11 kB / 417.8 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.155e-05/0.1197, allocations: 89.86 kB / 417.9 MB, free: 500 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.1197, allocations: 25.7 kB / 417.9 MB, free: 468 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.937e-05/0.1197, allocations: 80.14 kB / 418 MB, free: 384 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.1197, allocations: 3.906 kB / 418 MB, free: 380 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.1198, allocations: 8.062 kB / 418 MB, free: 372 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1199, allocations: 314.8 kB / 418.3 MB, free: 48 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.334e-05/0.1199, allocations: 4 kB / 418.3 MB, free: 44 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.083e-06/0.1199, allocations: 0 / 418.3 MB, free: 44 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.404e-05/0.12, allocations: 29.64 kB / 418.3 MB, free: 8 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.12, allocations: 0 / 418.3 MB, free: 8 kB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001128/0.1201, allocations: 63.39 kB / 418.4 MB, free: 15.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.694e-05/0.1201, allocations: 29.7 kB / 418.4 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1202, allocations: 4 kB / 418.4 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1202, allocations: 4.094 kB / 418.4 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.293e-06/0.1202, allocations: 0 / 418.4 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1202, allocations: 3.953 kB / 418.4 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.008e-05/0.1202, allocations: 0 / 418.4 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.1203, allocations: 0 / 418.4 MB, free: 15.89 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.000103/0.1204, allocations: 143.5 kB / 418.6 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.857e-06/0.1204, allocations: 0 / 418.6 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.455e-05/0.1204, allocations: 7.078 kB / 418.6 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1204, allocations: 0 / 418.6 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1204, allocations: 4 kB / 418.6 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.1205, allocations: 7.953 kB / 418.6 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.1206, allocations: 145.7 kB / 418.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1206, allocations: 3.938 kB / 418.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.222e-06/0.1206, allocations: 0 / 418.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1206, allocations: 0 / 418.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.1206, allocations: 0 / 418.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.729e-06/0.1206, allocations: 8 kB / 418.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1206, allocations: 3.938 kB / 418.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.1208, allocations: 94.78 kB / 418.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.426e-05/0.1208, allocations: 77.11 kB / 418.9 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.1208, allocations: 4 kB / 418.9 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.157e-05/0.1209, allocations: 0 / 418.9 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.76e-05/0.1209, allocations: 0 / 418.9 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.1209, allocations: 0 / 418.9 MB, free: 15.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.197e-05/0.1209, allocations: 75.28 kB / 419 MB, free: 15.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.121, allocations: 0 / 419 MB, free: 15.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003241/0.1213, allocations: 40.02 kB / 419 MB, free: 15.18 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.0008502/0.1222, allocations: 0.7525 MB / 419.8 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001074/0.1223, allocations: 59.41 kB / 419.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1223, allocations: 0 / 419.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.484e-05/0.1224, allocations: 51.41 kB / 419.9 MB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001078/0.1225, allocations: 4.281 kB / 419.9 MB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000401/0.1229, allocations: 136.4 kB / 420 MB, free: 14.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.1232, allocations: 0.6731 MB / 420.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.772e-06/0.1232, allocations: 0 / 420.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.381e-05/0.1232, allocations: 11.44 kB / 420.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.1232, allocations: 3.938 kB / 420.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02091/0.1442, allocations: 1.438 MB / 422.1 MB, free: 12 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002656/0.1445, allocations: 201 kB / 422.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.314/2.458, allocations: 0 / 422.3 MB, free: 11.77 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles_res.mat does not exist to compare? outputFormat=mat