Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.6/1.6, allocations: 221.5 MB / 230.7 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009161/0.0009161, allocations: 96.45 kB / 281.6 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2129/0.2129, allocations: 44.15 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.322e-05/2.323e-05, allocations: 4.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1302, allocations: 61.91 MB / 0.4948 GB, free: 1.164 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.279/1.409, allocations: 378 MB / 0.864 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/1.409, allocations: 75.83 kB / 0.864 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04954/1.459, allocations: 21.58 MB / 0.8851 GB, free: 6.352 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.333e-06/1.459, allocations: 0 / 0.8851 GB, free: 6.352 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.362e-05/1.459, allocations: 4 kB / 0.8851 GB, free: 6.348 MB / 0.5105 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.0009973/1.46, allocations: 0.5689 MB / 0.8857 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/1.46, allocations: 11.98 kB / 0.8857 GB, free: 5.723 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/1.46, allocations: 23.81 kB / 0.8857 GB, free: 5.699 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/1.46, allocations: 234.7 kB / 0.8859 GB, free: 5.43 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/1.461, allocations: 115.4 kB / 0.886 GB, free: 5.293 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/1.461, allocations: 19.94 kB / 0.886 GB, free: 5.273 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007673/1.461, allocations: 0.7113 MB / 0.8867 GB, free: 4.562 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003817/1.462, allocations: 281.8 kB / 0.887 GB, free: 4.262 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/1.462, allocations: 3.938 kB / 0.887 GB, free: 4.258 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/1.462, allocations: 0 / 0.887 GB, free: 4.258 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/1.462, allocations: 8 kB / 0.887 GB, free: 4.25 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00308/1.465, allocations: 3.19 MB / 0.8901 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/1.465, allocations: 54.66 kB / 0.8902 GB, free: 472 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.122e-05/1.465, allocations: 24.92 kB / 0.8902 GB, free: 444 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3183/1.783, allocations: 0.5248 MB / 0.8907 GB, free: 179.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/1.783, allocations: 38.44 kB / 0.8908 GB, free: 179.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 2.655e-06/1.783, allocations: 0 / 0.8908 GB, free: 179.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0006843/1.784, allocations: 145.1 kB / 0.8909 GB, free: 179.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/1.784, allocations: 58.83 kB / 0.891 GB, free: 179.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/1.784, allocations: 197.9 kB / 0.8911 GB, free: 179.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/1.784, allocations: 28.33 kB / 0.8912 GB, free: 179.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/1.785, allocations: 228.6 kB / 0.8914 GB, free: 179.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/1.785, allocations: 36.02 kB / 0.8914 GB, free: 179.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.778e-06/1.785, allocations: 3.312 kB / 0.8914 GB, free: 179.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.969e-05/1.785, allocations: 328.7 kB / 0.8917 GB, free: 179 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.21e-05/1.785, allocations: 36.22 kB / 0.8918 GB, free: 179 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/1.785, allocations: 316.7 kB / 0.8921 GB, free: 178.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003122/1.785, allocations: 109.2 kB / 0.8922 GB, free: 178.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/1.785, allocations: 2.156 kB / 0.8922 GB, free: 178.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000642/1.786, allocations: 324.6 kB / 0.8925 GB, free: 178.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/1.786, allocations: 10.66 kB / 0.8925 GB, free: 178.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/1.786, allocations: 12.31 kB / 0.8925 GB, free: 178.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.859e-05/1.786, allocations: 15.05 kB / 0.8925 GB, free: 178.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/1.786, allocations: 106.6 kB / 0.8926 GB, free: 178.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.983e-05/1.786, allocations: 24.45 kB / 0.8927 GB, free: 178.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/1.787, allocations: 19.8 kB / 0.8927 GB, free: 178.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.04e-05/1.787, allocations: 29.38 kB / 0.8927 GB, free: 178.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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 0.000104/1.787, allocations: 127.2 kB / 0.8928 GB, free: 178.5 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001849/1.787, allocations: 86.95 kB / 0.8929 GB, free: 178.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.237e-05/1.787, allocations: 18.03 kB / 0.8929 GB, free: 178.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002164/1.787, allocations: 90.41 kB / 0.893 GB, free: 178.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/1.787, allocations: 6 kB / 0.893 GB, free: 178.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/1.787, allocations: 1.406 kB / 0.893 GB, free: 178.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/1.787, allocations: 0.8906 kB / 0.893 GB, free: 178.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005457/1.788, allocations: 375.6 kB / 0.8934 GB, free: 178.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/1.788, allocations: 2.625 kB / 0.8934 GB, free: 178.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/1.788, allocations: 24.5 kB / 0.8934 GB, free: 178.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/1.788, allocations: 0 / 0.8934 GB, free: 178.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/1.788, allocations: 6.188 kB / 0.8934 GB, free: 178.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/1.788, allocations: 4.891 kB / 0.8934 GB, free: 178.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.788, allocations: 0 / 0.8934 GB, free: 178.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/1.788, allocations: 212.4 kB / 0.8936 GB, free: 178 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.742e-05/1.789, allocations: 106.6 kB / 0.8937 GB, free: 177.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/1.789, allocations: 9.406 kB / 0.8937 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/1.789, allocations: 5.547 kB / 0.8937 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.602e-05/1.789, allocations: 6.734 kB / 0.8937 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/1.789, allocations: 8.609 kB / 0.8937 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001171/1.789, allocations: 139.7 kB / 0.8939 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/1.789, allocations: 0 / 0.8939 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005342/1.789, allocations: 85.7 kB / 0.894 GB, free: 177.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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.0006202/1.79, allocations: 0.8806 MB / 0.8948 GB, free: 177 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003233/1.79, allocations: 146.4 kB / 0.895 GB, free: 177 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.79, allocations: 0 / 0.895 GB, free: 177 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.266e-05/1.79, allocations: 27.56 kB / 0.895 GB, free: 177 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/1.791, allocations: 30.97 kB / 0.895 GB, free: 177 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007258/1.792, allocations: 235.5 kB / 0.8952 GB, free: 176.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000186/1.792, allocations: 0.7308 MB / 0.896 GB, free: 176.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002698/1.792, allocations: 54.14 kB / 0.896 GB, free: 176.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.725e-05/1.792, allocations: 53.25 kB / 0.8961 GB, free: 176.1 MB / 0.5105 GB Notification: Performance of SimCode: time 8.01e-07/1.792, allocations: 0 / 0.8961 GB, free: 176.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/1.822, allocations: 4.289 MB / 0.9002 GB, free: 175.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001657/1.822, allocations: 138.8 kB / 0.9004 GB, free: 175.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.807/3.63, allocations: 1.875 kB / 0.9004 GB, free: 175.7 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat does not exist to compare? outputFormat=mat