Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors.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.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_FluxTubes_Sensors",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.01095/0.01095, allocations: 106.4 kB / 15.06 MB, free: 6.031 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.001255/0.001254, allocations: 180.4 kB / 15.95 MB, free: 5.957 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 1.987/1.987, allocations: 194.6 MB / 211.3 MB, free: 11.08 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.2882/0.2882, allocations: 40.04 MB / 296.5 MB, free: 6.297 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006247/0.0006247, allocations: 12 kB / 361.1 MB, free: 9.559 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1275, allocations: 54.88 MB / 416 MB, free: 2.586 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.00371/0.1313, allocations: 1.507 MB / 417.5 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.133, allocations: 0.5469 MB / 418.1 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.1332, allocations: 4 kB / 418.1 MB, free: 0.5 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002229/0.1335, allocations: 27.78 kB / 418.1 MB, free: 484 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.1337, allocations: 31.94 kB / 418.1 MB, free: 452 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.134, allocations: 31.95 kB / 418.2 MB, free: 420 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002476/0.1342, allocations: 99.75 kB / 418.3 MB, free: 320 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002094/0.1345, allocations: 45.78 kB / 418.3 MB, free: 268 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.1347, allocations: 47.84 kB / 418.4 MB, free: 220 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.1348, allocations: 51.77 kB / 418.4 MB, free: 168 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.713e-05/0.1349, allocations: 8 kB / 418.4 MB, free: 160 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.533e-05/0.135, allocations: 8 kB / 418.4 MB, free: 152 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.088e-05/0.135, allocations: 23.86 kB / 418.4 MB, free: 128 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.734e-05/0.1351, allocations: 53.64 kB / 418.5 MB, free: 68 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003221/0.1354, allocations: 116 kB / 418.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1355, allocations: 0 / 418.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1355, allocations: 0 / 418.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.862e-06/0.1355, allocations: 0 / 418.6 MB, free: 15.95 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001054/0.1366, allocations: 427.2 kB / 419 MB, free: 15.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.98e-05/0.1367, allocations: 12.03 kB / 419 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.429e-05/0.1368, allocations: 46.55 kB / 419.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.1369, allocations: 15.81 kB / 419.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/0.1372, allocations: 202.8 kB / 419.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.1373, allocations: 12.23 kB / 419.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.92e-05/0.1373, allocations: 16 kB / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006972/0.1381, allocations: 135.8 kB / 419.5 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.1381, allocations: 4 kB / 419.5 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.661e-05/0.1381, allocations: 8 kB / 419.5 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.1382, allocations: 0 / 419.5 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007316/0.1389, allocations: 120.1 kB / 419.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002047/0.141, allocations: 0.626 MB / 420.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005375/0.1416, allocations: 78.52 kB / 420.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.1416, allocations: 0 / 420.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.225e-05/0.1417, allocations: 30.56 kB / 420.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 2.695e-06/0.1417, allocations: 4 kB / 420.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008959/0.1426, allocations: 125.7 kB / 420.4 MB, free: 13.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/0.1427, allocations: 51.41 kB / 420.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/0.143, allocations: 152.8 kB / 420.6 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.1431, allocations: 25.7 kB / 420.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.1433, allocations: 139.5 kB / 420.8 MB, free: 13.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.1433, allocations: 19.75 kB / 420.8 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.859e-06/0.1433, allocations: 0 / 420.8 MB, free: 13.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002306/0.1436, allocations: 330.7 kB / 421.1 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003392/0.1439, allocations: 35.97 kB / 421.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003083/0.1443, allocations: 72.2 kB / 421.3 MB, free: 13.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/0.1446, allocations: 39.98 kB / 421.3 MB, free: 13.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.1446, allocations: 0 / 421.3 MB, free: 13.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008236/0.1455, allocations: 133.5 kB / 421.4 MB, free: 12.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.1455, allocations: 10.81 kB / 421.4 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.1455, allocations: 256 / 421.4 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.1456, allocations: 4 kB / 421.4 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/0.1459, allocations: 31.98 kB / 421.5 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.146, allocations: 7.938 kB / 421.5 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.1462, allocations: 15.89 kB / 421.5 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.1463, allocations: 7.938 kB / 421.5 MB, free: 12.81 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (11): * Single equations (assignments): 11 * 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.0002074/0.1465, allocations: 129.8 kB / 421.6 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.41e-05/0.1466, allocations: 7.906 kB / 421.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.632e-05/0.1467, allocations: 12.31 kB / 421.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.1467, allocations: 0 / 421.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.1467, allocations: 0 / 421.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.1467, allocations: 3.984 kB / 421.7 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004585/0.1472, allocations: 213.6 kB / 421.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1472, allocations: 0 / 421.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/0.1475, allocations: 19.98 kB / 421.9 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.1475, allocations: 0 / 421.9 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.1476, allocations: 4 kB / 421.9 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1476, allocations: 0 / 421.9 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1476, allocations: 0 / 421.9 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000631/0.1482, allocations: 207.3 kB / 422.1 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.687e-05/0.1483, allocations: 81.02 kB / 422.2 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/0.1484, allocations: 4 kB / 422.2 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.1486, allocations: 7.984 kB / 422.2 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.163e-05/0.1487, allocations: 4 kB / 422.2 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.1487, allocations: 0 / 422.2 MB, free: 12.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002195/0.149, allocations: 115.8 kB / 422.3 MB, free: 11.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.149, allocations: 4 kB / 422.3 MB, free: 11.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006779/0.1497, allocations: 31.84 kB / 422.3 MB, free: 11.89 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.001054/0.1508, allocations: 0.7201 MB / 423 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006391/0.1514, allocations: 83.89 kB / 423.1 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.1515, allocations: 4.25 kB / 423.1 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002421/0.1517, allocations: 40.09 kB / 423.2 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.1521, allocations: 3.938 kB / 423.2 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003083/0.1552, allocations: 1.377 MB / 424.6 MB, free: 9.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005277/0.1558, allocations: 0.7119 MB / 425.3 MB, free: 8.832 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001163/0.1559, allocations: 12.66 kB / 425.3 MB, free: 8.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.1561, allocations: 35.42 kB / 425.3 MB, free: 8.785 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1561, allocations: 0 / 425.3 MB, free: 8.785 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02495/0.181, allocations: 1.793 MB / 427.1 MB, free: 7.059 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003455/0.1815, allocations: 164.6 kB / 427.3 MB, free: 6.816 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.317/2.498, allocations: 0 / 427.3 MB, free: 6.816 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors_res.mat does not exist to compare? outputFormat=mat