Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001057/0.001058, allocations: 197.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 225.6 MB / 234.8 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001019/0.001019, allocations: 106 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2246/0.2246, allocations: 45.15 MB / 383.7 MB, free: 320 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.854e-05/1.838e-05, allocations: 4 kB / 453.3 MB, free: 75.78 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1136, allocations: 63.25 MB / 0.5044 GB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9338/1.047, allocations: 378.5 MB / 0.874 GB, free: 77.29 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/1.048, allocations: 78.05 kB / 0.8741 GB, free: 77.25 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.04024/1.088, allocations: 19.26 MB / 0.8929 GB, free: 61.46 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.453e-06/1.088, allocations: 0 / 0.8929 GB, free: 61.46 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.298e-05/1.088, allocations: 8 kB / 0.8929 GB, free: 61.46 MB / 0.5261 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.0009186/1.089, allocations: 0.5669 MB / 0.8935 GB, free: 60.87 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/1.089, allocations: 8.031 kB / 0.8935 GB, free: 60.86 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/1.089, allocations: 23.81 kB / 0.8935 GB, free: 60.84 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/1.089, allocations: 229.3 kB / 0.8937 GB, free: 60.59 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-05/1.089, allocations: 119.4 kB / 0.8939 GB, free: 60.45 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/1.09, allocations: 12 kB / 0.8939 GB, free: 60.43 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005991/1.09, allocations: 0.7099 MB / 0.8946 GB, free: 59.84 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003126/1.09, allocations: 279.8 kB / 0.8948 GB, free: 59.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/1.09, allocations: 0 / 0.8948 GB, free: 59.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/1.09, allocations: 11.94 kB / 0.8948 GB, free: 59.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.821e-05/1.091, allocations: 4 kB / 0.8948 GB, free: 59.58 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002105/1.093, allocations: 3.504 MB / 0.8983 GB, free: 55.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.479e-05/1.093, allocations: 46.27 kB / 0.8983 GB, free: 55.61 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.788e-05/1.093, allocations: 20.38 kB / 0.8983 GB, free: 55.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000372/1.093, allocations: 443.7 kB / 0.8987 GB, free: 55.13 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/1.093, allocations: 34.55 kB / 0.8988 GB, free: 55.09 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/1.093, allocations: 8.219 kB / 0.8988 GB, free: 55.08 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001707/1.093, allocations: 53.45 kB / 0.8988 GB, free: 55.02 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.852e-05/1.093, allocations: 51.41 kB / 0.8989 GB, free: 54.96 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/1.094, allocations: 218.3 kB / 0.8991 GB, free: 54.77 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/1.094, allocations: 25.7 kB / 0.8991 GB, free: 54.74 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.116e-05/1.094, allocations: 252.2 kB / 0.8994 GB, free: 54.51 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.614e-06/1.094, allocations: 11.86 kB / 0.8994 GB, free: 54.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.817e-06/1.094, allocations: 0 / 0.8994 GB, free: 54.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.38e-05/1.094, allocations: 329.8 kB / 0.8997 GB, free: 54.18 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.268e-05/1.094, allocations: 35.98 kB / 0.8997 GB, free: 54.15 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/1.094, allocations: 333.8 kB / 0.9 GB, free: 53.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/1.094, allocations: 118.1 kB / 0.9002 GB, free: 53.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/1.094, allocations: 4 kB / 0.9002 GB, free: 53.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005376/1.095, allocations: 342.6 kB / 0.9005 GB, free: 53.28 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/1.095, allocations: 8 kB / 0.9005 GB, free: 53.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/1.095, allocations: 12 kB / 0.9005 GB, free: 53.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/1.095, allocations: 16 kB / 0.9005 GB, free: 53.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/1.095, allocations: 99.58 kB / 0.9006 GB, free: 53.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/1.095, allocations: 24.42 kB / 0.9006 GB, free: 53.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/1.095, allocations: 51.44 kB / 0.9007 GB, free: 53.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/1.095, allocations: 31.42 kB / 0.9007 GB, free: 53.05 MB / 0.5261 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 6.282e-05/1.096, allocations: 131.2 kB / 0.9008 GB, free: 52.92 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.361e-05/1.096, allocations: 53.47 kB / 0.9009 GB, free: 52.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/1.096, allocations: 15.81 kB / 0.9009 GB, free: 52.84 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.366e-05/1.096, allocations: 20.8 kB / 0.9009 GB, free: 52.82 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/1.096, allocations: 4 kB / 0.9009 GB, free: 52.82 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/1.096, allocations: 0 / 0.9009 GB, free: 52.82 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/1.096, allocations: 8.016 kB / 0.9009 GB, free: 52.81 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/1.096, allocations: 176.8 kB / 0.9011 GB, free: 52.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.096, allocations: 4 kB / 0.9011 GB, free: 52.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.593e-06/1.096, allocations: 7.891 kB / 0.9011 GB, free: 52.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/1.096, allocations: 0 / 0.9011 GB, free: 52.61 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/1.096, allocations: 0 / 0.9011 GB, free: 52.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/1.096, allocations: 0 / 0.9011 GB, free: 52.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.096, allocations: 0 / 0.9011 GB, free: 52.61 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.774e-05/1.096, allocations: 150.9 kB / 0.9013 GB, free: 52.45 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.539e-05/1.096, allocations: 116.1 kB / 0.9014 GB, free: 52.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/1.096, allocations: 3.953 kB / 0.9014 GB, free: 52.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/1.096, allocations: 4 kB / 0.9014 GB, free: 52.31 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.919e-06/1.096, allocations: 0 / 0.9014 GB, free: 52.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/1.096, allocations: 3.984 kB / 0.9014 GB, free: 52.31 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.198e-05/1.096, allocations: 144.7 kB / 0.9015 GB, free: 52.19 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/1.096, allocations: 4 kB / 0.9015 GB, free: 52.18 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004513/1.097, allocations: 87.56 kB / 0.9016 GB, free: 52.1 MB / 0.5261 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.0003646/1.097, allocations: 0.7313 MB / 0.9023 GB, free: 51.35 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001876/1.097, allocations: 133 kB / 0.9025 GB, free: 51.23 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.097, allocations: 0 / 0.9025 GB, free: 51.23 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.979e-06/1.097, allocations: 0 / 0.9025 GB, free: 51.23 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/1.098, allocations: 27.17 kB / 0.9025 GB, free: 51.21 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008816/1.107, allocations: 4.311 MB / 0.9067 GB, free: 47.83 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/1.107, allocations: 0.7209 MB / 0.9074 GB, free: 47.09 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002269/1.107, allocations: 49.88 kB / 0.9074 GB, free: 47.04 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.07e-05/1.107, allocations: 55.09 kB / 0.9075 GB, free: 47.01 MB / 0.5261 GB Notification: Performance of SimCode: time 1.112e-06/1.107, allocations: 0 / 0.9075 GB, free: 47.01 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/1.131, allocations: 3.63 MB / 0.911 GB, free: 43.39 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002118/1.131, allocations: 154.7 kB / 0.9112 GB, free: 43.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/2.793, allocations: 0 / 0.9112 GB, free: 43.2 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat does not exist to compare? outputFormat=mat