Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater",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.001042/0.001041, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008906/0.0008904, allocations: 92.03 kB / 261.8 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2226/0.2226, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.722e-05/1.725e-05, allocations: 0 / 418.3 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1331, allocations: 58.86 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.068/1.201, allocations: 374.5 MB / 0.8317 GB, free: 63.27 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/1.202, allocations: 75.22 kB / 0.8318 GB, free: 63.23 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04105/1.243, allocations: 18.73 MB / 0.8501 GB, free: 47.93 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.973e-06/1.243, allocations: 7.938 kB / 0.8501 GB, free: 47.93 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.409e-05/1.243, allocations: 0 / 0.8501 GB, free: 47.93 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0009536/1.244, allocations: 0.563 MB / 0.8506 GB, free: 47.34 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/1.244, allocations: 8.031 kB / 0.8507 GB, free: 47.33 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/1.244, allocations: 27.81 kB / 0.8507 GB, free: 47.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/1.244, allocations: 229.3 kB / 0.8509 GB, free: 47.05 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/1.244, allocations: 119.3 kB / 0.851 GB, free: 46.91 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/1.244, allocations: 12 kB / 0.851 GB, free: 46.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006297/1.245, allocations: 0.7095 MB / 0.8517 GB, free: 46.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000327/1.245, allocations: 294.4 kB / 0.852 GB, free: 46.05 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/1.245, allocations: 0 / 0.852 GB, free: 46.05 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/1.245, allocations: 0 / 0.852 GB, free: 46.05 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-05/1.245, allocations: 8 kB / 0.852 GB, free: 46.04 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002396/1.248, allocations: 3.497 MB / 0.8554 GB, free: 42.12 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.231e-05/1.248, allocations: 45.84 kB / 0.8555 GB, free: 42.08 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.242e-05/1.248, allocations: 13.05 kB / 0.8555 GB, free: 42.06 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003967/1.248, allocations: 460 kB / 0.8559 GB, free: 41.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/1.248, allocations: 30.56 kB / 0.8559 GB, free: 41.55 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.523e-06/1.248, allocations: 0 / 0.8559 GB, free: 41.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001972/1.248, allocations: 53.45 kB / 0.856 GB, free: 41.49 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.927e-05/1.249, allocations: 51.41 kB / 0.856 GB, free: 41.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/1.249, allocations: 221.8 kB / 0.8563 GB, free: 41.24 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/1.249, allocations: 25.7 kB / 0.8563 GB, free: 41.21 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/1.249, allocations: 247.4 kB / 0.8565 GB, free: 40.98 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.508e-06/1.249, allocations: 15.95 kB / 0.8565 GB, free: 40.97 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-06/1.249, allocations: 0 / 0.8565 GB, free: 40.97 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.521e-05/1.249, allocations: 329.4 kB / 0.8568 GB, free: 40.64 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.704e-05/1.249, allocations: 31.72 kB / 0.8569 GB, free: 40.62 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/1.249, allocations: 337.9 kB / 0.8572 GB, free: 40.16 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003035/1.249, allocations: 113.7 kB / 0.8573 GB, free: 40.07 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.249, allocations: 0 / 0.8573 GB, free: 40.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005916/1.25, allocations: 345.6 kB / 0.8576 GB, free: 39.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.378e-05/1.25, allocations: 15.98 kB / 0.8577 GB, free: 39.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/1.25, allocations: 12.81 kB / 0.8577 GB, free: 39.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.126e-05/1.25, allocations: 16 kB / 0.8577 GB, free: 39.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/1.25, allocations: 103.8 kB / 0.8578 GB, free: 39.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-05/1.25, allocations: 15.94 kB / 0.8578 GB, free: 39.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/1.251, allocations: 62.88 kB / 0.8579 GB, free: 39.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-05/1.251, allocations: 27.98 kB / 0.8579 GB, free: 39.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * 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 7.582e-05/1.251, allocations: 124.2 kB / 0.858 GB, free: 39.38 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.319e-05/1.251, allocations: 65.27 kB / 0.8581 GB, free: 39.31 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/1.251, allocations: 23.8 kB / 0.8581 GB, free: 39.29 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.352e-05/1.251, allocations: 16.78 kB / 0.8581 GB, free: 39.27 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/1.251, allocations: 0 / 0.8581 GB, free: 39.27 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.251, allocations: 3.984 kB / 0.8581 GB, free: 39.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/1.251, allocations: 0 / 0.8581 GB, free: 39.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/1.251, allocations: 172.4 kB / 0.8583 GB, free: 39.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/1.251, allocations: 0 / 0.8583 GB, free: 39.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/1.251, allocations: 0 / 0.8583 GB, free: 39.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/1.251, allocations: 3.953 kB / 0.8583 GB, free: 39.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/1.251, allocations: 0 / 0.8583 GB, free: 39.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/1.251, allocations: 0 / 0.8583 GB, free: 39.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.251, allocations: 0 / 0.8583 GB, free: 39.07 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.807e-05/1.251, allocations: 158.7 kB / 0.8584 GB, free: 38.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.974e-05/1.251, allocations: 107.6 kB / 0.8585 GB, free: 38.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.436e-05/1.251, allocations: 7.953 kB / 0.8585 GB, free: 38.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/1.252, allocations: 0 / 0.8585 GB, free: 38.78 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.638e-05/1.252, allocations: 3.984 kB / 0.8585 GB, free: 38.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/1.252, allocations: 0 / 0.8585 GB, free: 38.78 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.417e-05/1.252, allocations: 147.8 kB / 0.8587 GB, free: 38.65 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.8e-07/1.252, allocations: 4.031 kB / 0.8587 GB, free: 38.65 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004824/1.252, allocations: 91.36 kB / 0.8588 GB, free: 38.56 MB / 0.4948 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0004081/1.253, allocations: 0.7229 MB / 0.8595 GB, free: 37.82 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002149/1.253, allocations: 134.7 kB / 0.8596 GB, free: 37.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.253, allocations: 0 / 0.8596 GB, free: 37.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.573e-06/1.253, allocations: 6.188 kB / 0.8596 GB, free: 37.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/1.253, allocations: 20.19 kB / 0.8596 GB, free: 37.69 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008903/1.262, allocations: 4.139 MB / 0.8637 GB, free: 34.46 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001885/1.262, allocations: 0.7248 MB / 0.8644 GB, free: 33.71 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002377/1.262, allocations: 45.94 kB / 0.8644 GB, free: 33.66 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.506e-05/1.263, allocations: 48.55 kB / 0.8645 GB, free: 33.64 MB / 0.4948 GB Notification: Performance of SimCode: time 1.363e-06/1.263, allocations: 3.938 kB / 0.8645 GB, free: 33.64 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02681/1.289, allocations: 3.642 MB / 0.868 GB, free: 30 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/1.29, allocations: 143.3 kB / 0.8682 GB, free: 29.82 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.858/3.148, allocations: 3.938 kB / 0.8682 GB, free: 29.81 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat does not exist to compare? outputFormat=mat