Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.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.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_SimpleAir",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.001536/0.001536, allocations: 181.1 kB / 13.66 MB, free: 1.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.094/2.094, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 94.61 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3097/0.3097, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.343e-05/3.354e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1268, allocations: 58.85 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.236/1.362, allocations: 377.4 MB / 0.8415 GB, free: 46.08 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/1.363, allocations: 76.05 kB / 0.8415 GB, free: 46.04 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.08183/1.445, allocations: 21.23 MB / 0.8623 GB, free: 28.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.685e-06/1.445, allocations: 3.984 kB / 0.8623 GB, free: 28.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.6e-05/1.445, allocations: 4 kB / 0.8623 GB, free: 28.41 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.001234/1.446, allocations: 0.5598 MB / 0.8628 GB, free: 27.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/1.446, allocations: 8.031 kB / 0.8628 GB, free: 27.81 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.375e-05/1.446, allocations: 57.05 kB / 0.8629 GB, free: 27.76 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002028/1.446, allocations: 31.75 kB / 0.8629 GB, free: 27.73 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/1.447, allocations: 233.3 kB / 0.8631 GB, free: 27.48 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/1.447, allocations: 126 kB / 0.8633 GB, free: 27.34 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/1.447, allocations: 23 kB / 0.8633 GB, free: 27.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006573/1.448, allocations: 305.5 kB / 0.8636 GB, free: 27.07 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/1.448, allocations: 3.938 kB / 0.8636 GB, free: 27.07 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.373e-05/1.448, allocations: 11.44 kB / 0.8636 GB, free: 27.07 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.215e-05/1.448, allocations: 8 kB / 0.8636 GB, free: 27.06 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/1.449, allocations: 0.731 MB / 0.8643 GB, free: 26.45 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/1.45, allocations: 1.157 MB / 0.8654 GB, free: 25.35 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005099/1.451, allocations: 162.3 kB / 0.8656 GB, free: 25.22 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/1.451, allocations: 85.81 kB / 0.8657 GB, free: 25.16 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003038/1.454, allocations: 2.852 MB / 0.8685 GB, free: 21.91 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/1.454, allocations: 42.3 kB / 0.8685 GB, free: 21.86 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 2.434e-06/1.454, allocations: 0 / 0.8685 GB, free: 21.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0008201/1.455, allocations: 206.4 kB / 0.8687 GB, free: 21.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/1.455, allocations: 59.28 kB / 0.8687 GB, free: 21.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/1.455, allocations: 190.9 kB / 0.8689 GB, free: 21.44 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/1.455, allocations: 33.08 kB / 0.869 GB, free: 21.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/1.456, allocations: 264.2 kB / 0.8692 GB, free: 21.15 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.805e-05/1.456, allocations: 62.55 kB / 0.8693 GB, free: 21.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.793e-05/1.456, allocations: 7.312 kB / 0.8693 GB, free: 21.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.23e-05/1.456, allocations: 325.8 kB / 0.8696 GB, free: 20.78 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/1.456, allocations: 47.8 kB / 0.8696 GB, free: 20.74 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/1.456, allocations: 309.9 kB / 0.8699 GB, free: 20.33 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/1.456, allocations: 109 kB / 0.87 GB, free: 20.24 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/1.456, allocations: 4 kB / 0.87 GB, free: 20.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007845/1.457, allocations: 367.8 kB / 0.8704 GB, free: 19.92 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/1.457, allocations: 8 kB / 0.8704 GB, free: 19.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/1.457, allocations: 11.98 kB / 0.8704 GB, free: 19.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.571e-05/1.457, allocations: 19.95 kB / 0.8704 GB, free: 19.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006762/1.458, allocations: 107.7 kB / 0.8705 GB, free: 19.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-05/1.458, allocations: 19.92 kB / 0.8705 GB, free: 19.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003897/1.458, allocations: 23.72 kB / 0.8706 GB, free: 19.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-05/1.459, allocations: 27.62 kB / 0.8706 GB, free: 19.71 MB / 0.4948 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 0.0001201/1.459, allocations: 131.7 kB / 0.8707 GB, free: 19.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.819e-05/1.459, allocations: 19.81 kB / 0.8707 GB, free: 19.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000515/1.459, allocations: 194.3 kB / 0.8709 GB, free: 19.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-05/1.459, allocations: 7.953 kB / 0.8709 GB, free: 19.39 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.459, allocations: 0 / 0.8709 GB, free: 19.39 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/1.459, allocations: 0 / 0.8709 GB, free: 19.39 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007255/1.46, allocations: 450.4 kB / 0.8714 GB, free: 18.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/1.46, allocations: 4 kB / 0.8714 GB, free: 18.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002735/1.46, allocations: 27.94 kB / 0.8714 GB, free: 18.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/1.46, allocations: 4 kB / 0.8714 GB, free: 18.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/1.46, allocations: 7.672 kB / 0.8714 GB, free: 18.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/1.46, allocations: 4 kB / 0.8714 GB, free: 18.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/1.46, allocations: 0 / 0.8714 GB, free: 18.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/1.461, allocations: 265.2 kB / 0.8717 GB, free: 18.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/1.461, allocations: 108.5 kB / 0.8718 GB, free: 18.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.005e-05/1.461, allocations: 11.5 kB / 0.8718 GB, free: 18.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003337/1.461, allocations: 11.98 kB / 0.8718 GB, free: 18.46 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.075e-05/1.461, allocations: 11.48 kB / 0.8718 GB, free: 18.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.134e-05/1.461, allocations: 15.95 kB / 0.8718 GB, free: 18.44 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001469/1.462, allocations: 147.9 kB / 0.872 GB, free: 18.31 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.51e-07/1.462, allocations: 0 / 0.872 GB, free: 18.31 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006963/1.462, allocations: 94.19 kB / 0.872 GB, free: 18.23 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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.0008036/1.463, allocations: 1.091 MB / 0.8731 GB, free: 17.12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004803/1.464, allocations: 174.4 kB / 0.8733 GB, free: 16.97 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.464, allocations: 0 / 0.8733 GB, free: 16.97 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.994e-05/1.464, allocations: 35 kB / 0.8733 GB, free: 16.95 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005331/1.464, allocations: 43.42 kB / 0.8734 GB, free: 16.92 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0201/1.484, allocations: 5.808 MB / 0.879 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/1.485, allocations: 0.7326 MB / 0.8797 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/1.485, allocations: 63.41 kB / 0.8798 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of SimCode: time 1.643e-06/1.485, allocations: 0 / 0.8798 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.808/4.293, allocations: 4.224 MB / 0.8839 GB, free: 6.621 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat does not exist to compare? outputFormat=mat