Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002202/0.002202, allocations: 180.1 kB / 8.365 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.039/2.039, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 93.67 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3011/0.3011, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.334e-05/2.337e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.3999, allocations: 58.85 MB / 477.2 MB, free: 5.176 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.37/10.77, allocations: 3.573 GB / 4.039 GB, free: 10.04 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/10.77, allocations: 86.56 kB / 4.039 GB, free: 9.996 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 1.826/12.6, allocations: 301.9 MB / 4.334 GB, free: 96.41 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.964e-06/12.6, allocations: 0 / 4.334 GB, free: 96.41 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 3.569e-05/12.6, allocations: 11.22 kB / 4.334 GB, free: 96.41 MB / 0.4952 GB 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.005783/12.6, allocations: 1.596 MB / 4.336 GB, free: 95.25 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/12.6, allocations: 7.656 kB / 4.336 GB, free: 95.25 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004215/12.6, allocations: 64.11 kB / 4.336 GB, free: 95.23 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008094/12.6, allocations: 373.2 kB / 4.336 GB, free: 94.95 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/12.6, allocations: 11.19 kB / 4.336 GB, free: 94.95 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.908e-05/12.6, allocations: 21.94 kB / 4.336 GB, free: 94.95 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001058/12.61, allocations: 428.2 kB / 4.336 GB, free: 94.82 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009423/12.61, allocations: 439.3 kB / 4.337 GB, free: 94.61 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/12.61, allocations: 0 / 4.337 GB, free: 94.61 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-05/12.61, allocations: 0 / 4.337 GB, free: 94.61 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/12.61, allocations: 7.781 kB / 4.337 GB, free: 94.61 MB / 0.4952 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003724/12.61, allocations: 2.045 MB / 4.339 GB, free: 93.01 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007575/12.61, allocations: 388.6 kB / 4.339 GB, free: 92.75 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000355/12.61, allocations: 135.1 kB / 4.339 GB, free: 92.69 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008344/12.61, allocations: 0.7901 MB / 4.34 GB, free: 91.82 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/12.61, allocations: 37.81 kB / 4.34 GB, free: 91.78 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=28): time 3.456e-06/12.61, allocations: 0 / 4.34 GB, free: 91.78 MB / 0.4952 GB Notification: Performance of matching and sorting (n=28): time 0.001393/12.61, allocations: 367.7 kB / 4.341 GB, free: 91.64 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/12.61, allocations: 106.8 kB / 4.341 GB, free: 91.52 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003952/12.61, allocations: 258.2 kB / 4.341 GB, free: 91.37 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 6.105e-05/12.61, allocations: 31.98 kB / 4.341 GB, free: 91.34 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/12.61, allocations: 283.1 kB / 4.341 GB, free: 91.09 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 8.772e-05/12.61, allocations: 93.56 kB / 4.341 GB, free: 91.02 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/12.61, allocations: 3.938 kB / 4.341 GB, free: 91.02 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 8.325e-05/12.61, allocations: 326.7 kB / 4.342 GB, free: 90.7 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000327/12.62, allocations: 127.6 kB / 4.342 GB, free: 90.65 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004221/12.62, allocations: 232.2 kB / 4.342 GB, free: 90.47 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009904/12.62, allocations: 244.9 kB / 4.342 GB, free: 90.4 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/12.62, allocations: 0 / 4.342 GB, free: 90.4 MB / 0.4952 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001609/12.62, allocations: 0.4916 MB / 4.343 GB, free: 90.24 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 6.642e-05/12.62, allocations: 62.83 kB / 4.343 GB, free: 90.18 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/12.62, allocations: 7.641 kB / 4.343 GB, free: 90.17 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.206e-05/12.62, allocations: 20.69 kB / 4.343 GB, free: 90.16 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007292/12.62, allocations: 88.72 kB / 4.343 GB, free: 90.15 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/12.62, allocations: 7.109 kB / 4.343 GB, free: 90.15 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006766/12.62, allocations: 45.62 kB / 4.343 GB, free: 90.13 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.127e-05/12.62, allocations: 21.94 kB / 4.343 GB, free: 90.13 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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.0001797/12.62, allocations: 112.8 kB / 4.343 GB, free: 90.02 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001257/12.62, allocations: 374.1 kB / 4.343 GB, free: 89.88 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/12.62, allocations: 36.39 kB / 4.343 GB, free: 89.86 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/12.62, allocations: 395.7 kB / 4.344 GB, free: 89.67 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-06/12.62, allocations: 3.938 kB / 4.344 GB, free: 89.67 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/12.62, allocations: 0 / 4.344 GB, free: 89.67 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/12.62, allocations: 0 / 4.344 GB, free: 89.67 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/12.62, allocations: 1.023 MB / 4.345 GB, free: 88.97 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/12.62, allocations: 7.75 kB / 4.345 GB, free: 88.97 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004455/12.63, allocations: 52.77 kB / 4.345 GB, free: 88.96 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/12.63, allocations: 3.469 kB / 4.345 GB, free: 88.96 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/12.63, allocations: 3.797 kB / 4.345 GB, free: 88.96 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/12.63, allocations: 3.469 kB / 4.345 GB, free: 88.96 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.922e-06/12.63, allocations: 6.969 kB / 4.345 GB, free: 88.96 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008522/12.63, allocations: 0.6208 MB / 4.345 GB, free: 88.45 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/12.63, allocations: 126.7 kB / 4.346 GB, free: 88.33 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.866e-05/12.63, allocations: 3.844 kB / 4.346 GB, free: 88.33 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006626/12.63, allocations: 17.92 kB / 4.346 GB, free: 88.33 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/12.63, allocations: 24.5 kB / 4.346 GB, free: 88.32 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.835e-05/12.63, allocations: 23.41 kB / 4.346 GB, free: 88.31 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0003241/12.63, allocations: 225 kB / 4.346 GB, free: 88.19 MB / 0.4952 GB Notification: Performance of sort global known variables: time 7.72e-07/12.63, allocations: 3.562 kB / 4.346 GB, free: 88.19 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.002151/12.63, allocations: 454.1 kB / 4.346 GB, free: 88.04 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.004619/12.63, allocations: 2.836 MB / 4.349 GB, free: 86.39 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.0009998/12.64, allocations: 382.9 kB / 4.349 GB, free: 86.18 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/12.64, allocations: 3.5 kB / 4.349 GB, free: 86.18 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.000272/12.64, allocations: 112.7 kB / 4.35 GB, free: 86.14 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/12.64, allocations: 163.5 kB / 4.35 GB, free: 86.1 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002727/12.64, allocations: 0.7452 MB / 4.35 GB, free: 85.65 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/12.64, allocations: 0.8338 MB / 4.351 GB, free: 84.95 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003247/12.64, allocations: 133.2 kB / 4.351 GB, free: 84.86 MB / 0.4952 GB Notification: Performance of SimCode: time 1.603e-06/12.64, allocations: 2.844 kB / 4.351 GB, free: 84.86 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.087/15.73, allocations: 16.22 MB / 4.367 GB, free: 73.23 MB / 0.4952 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat does not exist to compare? outputFormat=mat