Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.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.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001022/0.001022, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 225.6 MB / 234.8 MB, free: 3.301 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009053/0.0009054, allocations: 95.44 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1995/0.1995, allocations: 45.15 MB / 383.8 MB, free: 324 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.705e-05/1.697e-05, allocations: 0 / 453.3 MB, free: 75.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1359, allocations: 63.25 MB / 0.5045 GB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.067/1.203, allocations: 379.1 MB / 0.8747 GB, free: 75.62 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/1.203, allocations: 75.64 kB / 0.8748 GB, free: 75.59 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.04599/1.249, allocations: 21.71 MB / 0.896 GB, free: 57.82 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.412e-06/1.249, allocations: 0 / 0.896 GB, free: 57.82 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.318e-05/1.249, allocations: 4 kB / 0.896 GB, free: 57.82 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.0008763/1.25, allocations: 0.5673 MB / 0.8965 GB, free: 57.23 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/1.25, allocations: 8.031 kB / 0.8965 GB, free: 57.22 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/1.25, allocations: 31.45 kB / 0.8966 GB, free: 57.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/1.251, allocations: 232.8 kB / 0.8968 GB, free: 56.94 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.55e-05/1.251, allocations: 115.4 kB / 0.8969 GB, free: 56.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/1.251, allocations: 16 kB / 0.8969 GB, free: 56.79 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000576/1.251, allocations: 0.714 MB / 0.8976 GB, free: 56.19 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/1.252, allocations: 281.6 kB / 0.8979 GB, free: 55.95 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/1.252, allocations: 4 kB / 0.8979 GB, free: 55.94 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/1.252, allocations: 0 / 0.8979 GB, free: 55.94 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/1.252, allocations: 8 kB / 0.8979 GB, free: 55.93 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001966/1.254, allocations: 3.193 MB / 0.901 GB, free: 52.36 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.234e-05/1.254, allocations: 57.09 kB / 0.901 GB, free: 52.31 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.187e-05/1.254, allocations: 40.34 kB / 0.9011 GB, free: 52.27 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003884/1.254, allocations: 0.4938 MB / 0.9016 GB, free: 51.73 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/1.254, allocations: 38.45 kB / 0.9016 GB, free: 51.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/1.254, allocations: 4 kB / 0.9016 GB, free: 51.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0005085/1.255, allocations: 151.8 kB / 0.9018 GB, free: 51.54 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.016e-05/1.255, allocations: 59.41 kB / 0.9018 GB, free: 51.46 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/1.255, allocations: 192.2 kB / 0.902 GB, free: 51.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/1.255, allocations: 25.7 kB / 0.902 GB, free: 51.27 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.491e-05/1.255, allocations: 229.1 kB / 0.9022 GB, free: 51.05 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/1.255, allocations: 42.47 kB / 0.9023 GB, free: 51.02 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-06/1.255, allocations: 0 / 0.9023 GB, free: 51.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.112e-05/1.255, allocations: 325.8 kB / 0.9026 GB, free: 50.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.329e-05/1.255, allocations: 39.42 kB / 0.9026 GB, free: 50.67 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/1.255, allocations: 305.6 kB / 0.9029 GB, free: 50.26 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/1.256, allocations: 105.6 kB / 0.903 GB, free: 50.17 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.256, allocations: 4 kB / 0.903 GB, free: 50.17 MB / 0.5261 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005215/1.256, allocations: 326 kB / 0.9033 GB, free: 49.87 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/1.256, allocations: 16.03 kB / 0.9033 GB, free: 49.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/1.256, allocations: 11.95 kB / 0.9034 GB, free: 49.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/1.256, allocations: 12 kB / 0.9034 GB, free: 49.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/1.257, allocations: 111.6 kB / 0.9035 GB, free: 49.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/1.257, allocations: 19.88 kB / 0.9035 GB, free: 49.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/1.257, allocations: 8 kB / 0.9035 GB, free: 49.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/1.257, allocations: 31.67 kB / 0.9035 GB, free: 49.67 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 6.301e-05/1.257, allocations: 128.5 kB / 0.9037 GB, free: 49.54 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001437/1.257, allocations: 89 kB / 0.9037 GB, free: 49.46 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-05/1.257, allocations: 24.23 kB / 0.9038 GB, free: 49.43 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001579/1.257, allocations: 93.94 kB / 0.9039 GB, free: 49.35 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/1.257, allocations: 3.938 kB / 0.9039 GB, free: 49.34 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/1.257, allocations: 0 / 0.9039 GB, free: 49.34 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/1.257, allocations: 8.031 kB / 0.9039 GB, free: 49.34 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003853/1.258, allocations: 395.8 kB / 0.9042 GB, free: 48.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/1.258, allocations: 4 kB / 0.9042 GB, free: 48.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/1.258, allocations: 19.98 kB / 0.9043 GB, free: 48.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/1.258, allocations: 4 kB / 0.9043 GB, free: 48.91 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/1.258, allocations: 7.922 kB / 0.9043 GB, free: 48.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.258, allocations: 0 / 0.9043 GB, free: 48.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.258, allocations: 4 kB / 0.9043 GB, free: 48.89 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/1.258, allocations: 227.2 kB / 0.9045 GB, free: 48.65 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.223e-05/1.258, allocations: 104.3 kB / 0.9046 GB, free: 48.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/1.258, allocations: 4 kB / 0.9046 GB, free: 48.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/1.258, allocations: 11.48 kB / 0.9046 GB, free: 48.52 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/1.258, allocations: 4 kB / 0.9046 GB, free: 48.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/1.258, allocations: 11.98 kB / 0.9046 GB, free: 48.51 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.584e-05/1.258, allocations: 142.9 kB / 0.9048 GB, free: 48.39 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/1.258, allocations: 0 / 0.9048 GB, free: 48.39 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004284/1.259, allocations: 91.45 kB / 0.9049 GB, free: 48.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.0004608/1.259, allocations: 0.9786 MB / 0.9058 GB, free: 47.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001956/1.26, allocations: 151.1 kB / 0.906 GB, free: 47.17 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.26, allocations: 0 / 0.906 GB, free: 47.17 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.904e-05/1.26, allocations: 27 kB / 0.906 GB, free: 47.15 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/1.26, allocations: 27.86 kB / 0.906 GB, free: 47.13 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005421/1.26, allocations: 251.4 kB / 0.9062 GB, free: 46.85 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/1.261, allocations: 0.7249 MB / 0.907 GB, free: 46.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002566/1.261, allocations: 58 kB / 0.907 GB, free: 46.05 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.941e-05/1.261, allocations: 57.72 kB / 0.9071 GB, free: 46.02 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/1.261, allocations: 0 / 0.9071 GB, free: 46.02 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02139/1.282, allocations: 4.34 MB / 0.9113 GB, free: 41.69 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001409/1.283, allocations: 150.3 kB / 0.9114 GB, free: 41.49 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/3.082, allocations: 0 / 0.9114 GB, free: 41.49 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat does not exist to compare? outputFormat=mat