Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",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.001537/0.001537, allocations: 177.8 kB / 8.36 MB, free: 0.7148 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.009/2.009, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001139/0.001139, allocations: 88.22 kB / 262.1 MB, free: 13.88 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.3046/0.3046, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.453e-05/2.451e-05, allocations: 0 / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4213/0.4214, allocations: 58.85 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.046/2.468, allocations: 0.645 GB / 1.111 GB, free: 90.01 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/2.468, allocations: 86.94 kB / 1.111 GB, free: 89.96 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 0.6767/3.145, allocations: 108.7 MB / 1.217 GB, free: 142.5 MB / 0.4952 GB Notification: Performance of FrontEnd: time 2.154e-06/3.145, allocations: 0.9688 kB / 1.217 GB, free: 142.5 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 1.927e-05/3.145, allocations: 3.438 kB / 1.217 GB, free: 142.5 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.004344/3.149, allocations: 1.046 MB / 1.218 GB, free: 141.9 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.964e-05/3.149, allocations: 13.89 kB / 1.218 GB, free: 141.9 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008654/3.15, allocations: 73.77 kB / 1.218 GB, free: 141.9 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/3.151, allocations: 252 kB / 1.219 GB, free: 141.7 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/3.151, allocations: 8.344 kB / 1.219 GB, free: 141.7 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.227e-05/3.151, allocations: 16.38 kB / 1.219 GB, free: 141.7 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001175/3.152, allocations: 0.5871 MB / 1.219 GB, free: 141.7 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007025/3.153, allocations: 348.8 kB / 1.22 GB, free: 141.6 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/3.153, allocations: 4.531 kB / 1.22 GB, free: 141.6 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.735e-05/3.153, allocations: 4.578 kB / 1.22 GB, free: 141.6 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/3.153, allocations: 6.562 kB / 1.22 GB, free: 141.6 MB / 0.4952 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1386/3.291, allocations: 39.34 MB / 1.258 GB, free: 122.3 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/3.292, allocations: 79.88 kB / 1.258 GB, free: 122.3 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.185e-05/3.292, allocations: 28.95 kB / 1.258 GB, free: 122.3 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02881/3.321, allocations: 7.038 MB / 1.265 GB, free: 119 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002708/3.321, allocations: 92.5 kB / 1.265 GB, free: 119 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=12): time 4.068e-06/3.321, allocations: 0 / 1.265 GB, free: 119 MB / 0.4952 GB Notification: Performance of matching and sorting (n=13): time 0.002651/3.324, allocations: 357.4 kB / 1.265 GB, free: 118.9 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/3.324, allocations: 57.44 kB / 1.265 GB, free: 118.8 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/3.324, allocations: 198.5 kB / 1.266 GB, free: 118.7 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/3.324, allocations: 27.95 kB / 1.266 GB, free: 118.7 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/3.324, allocations: 316.6 kB / 1.266 GB, free: 118.4 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 4.378e-05/3.324, allocations: 45.98 kB / 1.266 GB, free: 118.4 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.911e-05/3.324, allocations: 3.969 kB / 1.266 GB, free: 118.4 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 8.272e-05/3.324, allocations: 331.5 kB / 1.266 GB, free: 118.1 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/3.324, allocations: 47.88 kB / 1.266 GB, free: 118.1 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000279/3.325, allocations: 287.3 kB / 1.267 GB, free: 117.8 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002281/3.327, allocations: 257.5 kB / 1.267 GB, free: 117.8 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/3.327, allocations: 3.219 kB / 1.267 GB, free: 117.8 MB / 0.4952 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002816/3.33, allocations: 475.8 kB / 1.267 GB, free: 117.7 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/3.33, allocations: 11.23 kB / 1.267 GB, free: 117.7 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/3.33, allocations: 10.19 kB / 1.267 GB, free: 117.7 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.744e-05/3.33, allocations: 13.59 kB / 1.267 GB, free: 117.7 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002327/3.332, allocations: 237.7 kB / 1.268 GB, free: 117.7 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003834/3.333, allocations: 0.6049 MB / 1.268 GB, free: 117.1 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005542/3.333, allocations: 7.25 kB / 1.268 GB, free: 117.1 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.676e-05/3.333, allocations: 34.41 kB / 1.268 GB, free: 117.1 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001467/3.334, allocations: 129.1 kB / 1.268 GB, free: 117 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008708/3.334, allocations: 155 kB / 1.268 GB, free: 116.9 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/3.334, allocations: 26.62 kB / 1.269 GB, free: 116.9 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008405/3.335, allocations: 302.7 kB / 1.269 GB, free: 116.9 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/3.335, allocations: 3.844 kB / 1.269 GB, free: 116.9 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/3.335, allocations: 7.562 kB / 1.269 GB, free: 116.9 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/3.335, allocations: 2.812 kB / 1.269 GB, free: 116.9 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004422/3.336, allocations: 289.2 kB / 1.269 GB, free: 116.7 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/3.336, allocations: 0 / 1.269 GB, free: 116.7 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/3.337, allocations: 117.3 kB / 1.269 GB, free: 116.7 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/3.337, allocations: 3.625 kB / 1.269 GB, free: 116.7 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/3.337, allocations: 0 / 1.269 GB, free: 116.7 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000302/3.338, allocations: 0.5782 MB / 1.27 GB, free: 116.1 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/3.338, allocations: 7.484 kB / 1.27 GB, free: 116.1 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006611/3.338, allocations: 251.6 kB / 1.27 GB, free: 116 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/3.338, allocations: 133.5 kB / 1.27 GB, free: 115.9 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.385e-05/3.339, allocations: 3.656 kB / 1.27 GB, free: 115.9 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002918/3.339, allocations: 3.406 kB / 1.27 GB, free: 115.9 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/3.339, allocations: 17.27 kB / 1.27 GB, free: 115.9 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/3.339, allocations: 11 kB / 1.27 GB, free: 115.9 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0001863/3.339, allocations: 167.6 kB / 1.27 GB, free: 115.8 MB / 0.4952 GB Notification: Performance of sort global known variables: time 3.91e-07/3.339, allocations: 0 / 1.27 GB, free: 115.8 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.002351/3.341, allocations: 455.8 kB / 1.271 GB, free: 115.7 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004192/3.346, allocations: 1.529 MB / 1.272 GB, free: 115 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.001484/3.347, allocations: 281 kB / 1.273 GB, free: 114.9 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/3.347, allocations: 0 / 1.273 GB, free: 114.9 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0008796/3.348, allocations: 139 kB / 1.273 GB, free: 114.9 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005069/3.349, allocations: 36.97 kB / 1.273 GB, free: 114.9 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2785/3.627, allocations: 111.4 MB / 1.381 GB, free: 21.13 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/3.628, allocations: 0.764 MB / 1.382 GB, free: 20.34 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002754/3.628, allocations: 103.4 kB / 1.382 GB, free: 20.24 MB / 0.4952 GB Notification: Performance of SimCode: time 1.673e-06/3.628, allocations: 0 / 1.382 GB, free: 20.24 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.029/6.657, allocations: 13.15 MB / 1.395 GB, free: 7.078 MB / 0.4952 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat does not exist to compare? outputFormat=mat