Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.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.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",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.01086/0.01086, allocations: 107.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.001208/0.001208, allocations: 181.8 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.204/2.204, allocations: 194.6 MB / 211.3 MB, free: 11.04 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.2964/0.2964, allocations: 40.04 MB / 296.5 MB, free: 6.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006552/0.0006556, allocations: 12 kB / 361.1 MB, free: 9.512 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1192, allocations: 54.89 MB / 416 MB, free: 2.527 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.546/0.6653, allocations: 148.5 MB / 0.5513 GB, free: 2.309 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007387/0.6728, allocations: 3.308 MB / 0.5546 GB, free: 15.82 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000561/0.6734, allocations: 15.88 kB / 0.5546 GB, free: 15.8 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008602/0.6743, allocations: 152.9 kB / 0.5547 GB, free: 15.69 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009096/0.6752, allocations: 220.5 kB / 0.5549 GB, free: 15.51 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007672/0.6829, allocations: 1.602 MB / 0.5565 GB, free: 13.98 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001365/0.6843, allocations: 0.5433 MB / 0.557 GB, free: 13.44 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006446/0.685, allocations: 262.6 kB / 0.5573 GB, free: 13.19 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004763/0.6898, allocations: 1.22 MB / 0.5585 GB, free: 11.96 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006334/0.6904, allocations: 223.2 kB / 0.5587 GB, free: 11.75 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.6906, allocations: 20 kB / 0.5587 GB, free: 11.73 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007393/0.698, allocations: 2.512 MB / 0.5612 GB, free: 9.211 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004011/0.6984, allocations: 151.6 kB / 0.5613 GB, free: 9.062 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002354/0.6987, allocations: 117.5 kB / 0.5614 GB, free: 8.941 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004129/0.7028, allocations: 1.331 MB / 0.5627 GB, free: 7.617 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.7029, allocations: 0 / 0.5627 GB, free: 7.617 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.316e-06/0.7029, allocations: 0 / 0.5627 GB, free: 7.617 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.682e-05/0.7029, allocations: 4 kB / 0.5627 GB, free: 7.613 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002841/0.7058, allocations: 0.9765 MB / 0.5637 GB, free: 6.578 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.7059, allocations: 8.031 kB / 0.5637 GB, free: 6.57 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001939/0.7061, allocations: 74.53 kB / 0.5638 GB, free: 6.488 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003643/0.7064, allocations: 57.19 kB / 0.5638 GB, free: 6.434 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009078/0.7074, allocations: 386.1 kB / 0.5642 GB, free: 6.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.998e-05/0.7074, allocations: 28.94 kB / 0.5642 GB, free: 5.992 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.7076, allocations: 36 kB / 0.5642 GB, free: 5.957 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.7091, allocations: 0.5091 MB / 0.5647 GB, free: 5.418 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.7091, allocations: 3.938 kB / 0.5647 GB, free: 5.414 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.822e-05/0.7092, allocations: 23.95 kB / 0.5648 GB, free: 5.391 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.7092, allocations: 8 kB / 0.5648 GB, free: 5.383 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/0.7108, allocations: 0.4941 MB / 0.5652 GB, free: 4.891 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004891/0.7157, allocations: 2.066 MB / 0.5673 GB, free: 2.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009981/0.7168, allocations: 380.8 kB / 0.5676 GB, free: 2.262 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001208/0.718, allocations: 0.9494 MB / 0.5686 GB, free: 1.109 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.807e-05/0.7181, allocations: 42.5 kB / 0.5686 GB, free: 1.059 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 3.767e-06/0.7181, allocations: 0 / 0.5686 GB, free: 1.059 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.001584/0.7197, allocations: 394.8 kB / 0.569 GB, free: 0.668 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.7198, allocations: 106.8 kB / 0.5691 GB, free: 0.5391 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00049/0.7203, allocations: 316.5 kB / 0.5694 GB, free: 228 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.344e-05/0.7204, allocations: 29.7 kB / 0.5694 GB, free: 192 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002528/0.7207, allocations: 251.5 kB / 0.5696 GB, free: 15.93 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.7208, allocations: 98.58 kB / 0.5697 GB, free: 15.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.7209, allocations: 8 kB / 0.5697 GB, free: 15.83 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.7211, allocations: 346.6 kB / 0.5701 GB, free: 15.48 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000494/0.7216, allocations: 128.8 kB / 0.5702 GB, free: 15.36 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006092/0.7222, allocations: 303.4 kB / 0.5705 GB, free: 14.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000626/0.7228, allocations: 228.2 kB / 0.5707 GB, free: 14.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.7229, allocations: 7.938 kB / 0.5707 GB, free: 14.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001646/0.7245, allocations: 0.541 MB / 0.5712 GB, free: 14.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.014e-05/0.7246, allocations: 67.39 kB / 0.5713 GB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.7247, allocations: 8 kB / 0.5713 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.908e-05/0.7247, allocations: 8 kB / 0.5713 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007301/0.7254, allocations: 108.4 kB / 0.5714 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.147e-05/0.7255, allocations: 15.92 kB / 0.5714 GB, free: 13.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006051/0.7261, allocations: 47.59 kB / 0.5715 GB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.904e-05/0.7262, allocations: 31.94 kB / 0.5715 GB, free: 13.89 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0003497/0.7266, allocations: 193.6 kB / 0.5717 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.7267, allocations: 39.53 kB / 0.5717 GB, free: 13.65 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001527/0.7283, allocations: 433 kB / 0.5722 GB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.7283, allocations: 4 kB / 0.5722 GB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.7283, allocations: 0 / 0.5722 GB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.7283, allocations: 192 / 0.5722 GB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002258/0.7306, allocations: 1.04 MB / 0.5732 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.7307, allocations: 7.938 kB / 0.5732 GB, free: 12.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004303/0.7311, allocations: 47.91 kB / 0.5732 GB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.448e-05/0.7311, allocations: 7.953 kB / 0.5732 GB, free: 12.01 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/0.7312, allocations: 8 kB / 0.5732 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.119e-05/0.7312, allocations: 4 kB / 0.5732 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.7312, allocations: 3.938 kB / 0.5732 GB, free: 11.99 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.7323, allocations: 0.6369 MB / 0.5739 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/0.7325, allocations: 136.5 kB / 0.574 GB, free: 11.12 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.39e-05/0.7326, allocations: 8 kB / 0.574 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000514/0.7332, allocations: 11.98 kB / 0.574 GB, free: 11.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.7333, allocations: 35.86 kB / 0.5741 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-05/0.7333, allocations: 12.94 kB / 0.5741 GB, free: 11.05 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000489/0.7338, allocations: 259.2 kB / 0.5743 GB, free: 10.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.7338, allocations: 0 / 0.5743 GB, free: 10.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00167/0.7355, allocations: 367.5 kB / 0.5747 GB, free: 10.44 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (24): * Single equations (assignments): 24 * 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.003673/0.7392, allocations: 2.19 MB / 0.5768 GB, free: 8.199 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001301/0.7406, allocations: 425.9 kB / 0.5772 GB, free: 7.762 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.946e-06/0.7406, allocations: 3.984 kB / 0.5772 GB, free: 7.758 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004326/0.741, allocations: 122 kB / 0.5773 GB, free: 7.641 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/0.7426, allocations: 152.9 kB / 0.5775 GB, free: 7.496 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005152/0.7478, allocations: 5.394 MB / 0.5827 GB, free: 1.914 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005925/0.7485, allocations: 0.8392 MB / 0.5836 GB, free: 1.047 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007861/0.7493, allocations: 98.14 kB / 0.5837 GB, free: 0.9492 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003576/0.7496, allocations: 143.4 kB / 0.5838 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of SimCode: time 1.203e-06/0.7497, allocations: 7.938 kB / 0.5838 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05826/0.8079, allocations: 15.77 MB / 0.5992 GB, free: 1.168 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003498/0.8084, allocations: 239.1 kB / 0.5994 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.158/3.967, allocations: 0 / 0.5994 GB, free: 0.9297 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat does not exist to compare? outputFormat=mat