Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001189/0.001189, allocations: 95.59 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001505/0.001505, allocations: 205.7 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2246/0.2246, allocations: 45.91 MB / 344 MB, free: 12.07 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002736/0.0002736, allocations: 4 kB / 418.1 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.141, allocations: 63.46 MB / 481.5 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3929/0.534, allocations: 126.9 MB / 0.5942 GB, free: 6.387 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.5353, allocations: 1.007 MB / 0.5951 GB, free: 5.379 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.477e-05/0.5353, allocations: 0 / 0.5951 GB, free: 5.379 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.5355, allocations: 35.86 kB / 0.5952 GB, free: 5.344 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.349e-05/0.5355, allocations: 35.92 kB / 0.5952 GB, free: 5.309 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.5366, allocations: 374.8 kB / 0.5956 GB, free: 4.941 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.678e-05/0.5367, allocations: 51.91 kB / 0.5956 GB, free: 4.891 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.749e-05/0.5367, allocations: 8 kB / 0.5956 GB, free: 4.883 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.587e-05/0.5368, allocations: 27.92 kB / 0.5957 GB, free: 4.855 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.963e-05/0.5369, allocations: 27.91 kB / 0.5957 GB, free: 4.828 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.227e-06/0.5369, allocations: 3.938 kB / 0.5957 GB, free: 4.824 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.5379, allocations: 499 kB / 0.5962 GB, free: 4.336 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.5379, allocations: 15.91 kB / 0.5962 GB, free: 4.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.937e-05/0.538, allocations: 33.7 kB / 0.5962 GB, free: 4.281 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003278/0.5383, allocations: 198.5 kB / 0.5964 GB, free: 4.098 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.5383, allocations: 0 / 0.5964 GB, free: 4.098 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5383, allocations: 0 / 0.5964 GB, free: 4.098 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.5383, allocations: 0 / 0.5964 GB, free: 4.098 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004834/0.5388, allocations: 396 kB / 0.5968 GB, free: 3.664 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.5389, allocations: 12.03 kB / 0.5968 GB, free: 3.652 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.942e-05/0.5389, allocations: 46.44 kB / 0.5968 GB, free: 3.598 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.486e-05/0.539, allocations: 8 kB / 0.5968 GB, free: 3.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.854e-05/0.5391, allocations: 167 kB / 0.597 GB, free: 3.387 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.5391, allocations: 8 kB / 0.597 GB, free: 3.379 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.5391, allocations: 7.906 kB / 0.597 GB, free: 3.371 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.5393, allocations: 69.66 kB / 0.5971 GB, free: 3.297 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.5393, allocations: 0 / 0.5971 GB, free: 3.297 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.5393, allocations: 4 kB / 0.5971 GB, free: 3.293 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.5393, allocations: 7.953 kB / 0.5971 GB, free: 3.285 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.768e-05/0.5394, allocations: 43.97 kB / 0.5971 GB, free: 3.242 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.5398, allocations: 385.8 kB / 0.5975 GB, free: 2.797 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.486e-05/0.5399, allocations: 63.19 kB / 0.5976 GB, free: 2.727 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/0.541, allocations: 0.9935 MB / 0.5985 GB, free: 1.527 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.541, allocations: 30.56 kB / 0.5986 GB, free: 1.488 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.541, allocations: 192 / 0.5986 GB, free: 1.488 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.006776/0.5478, allocations: 0.6648 MB / 0.5992 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.5479, allocations: 51.41 kB / 0.5993 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.516e-05/0.548, allocations: 105.8 kB / 0.5994 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.548, allocations: 33.7 kB / 0.5994 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.669e-05/0.5481, allocations: 88.27 kB / 0.5995 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.984e-05/0.5481, allocations: 47.36 kB / 0.5995 GB, free: 476 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.283e-05/0.5481, allocations: 0 / 0.5995 GB, free: 476 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.188e-05/0.5482, allocations: 322.8 kB / 0.5998 GB, free: 144 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.5484, allocations: 79.94 kB / 0.5999 GB, free: 64 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.5487, allocations: 110.4 kB / 0.6 GB, free: 15.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.5489, allocations: 95.97 kB / 0.6001 GB, free: 15.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.5489, allocations: 0 / 0.6001 GB, free: 15.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005161/0.5494, allocations: 245 kB / 0.6003 GB, free: 15.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.5494, allocations: 4 kB / 0.6003 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.5494, allocations: 3.984 kB / 0.6003 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.5495, allocations: 7.938 kB / 0.6004 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006804/0.5501, allocations: 52 kB / 0.6004 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.5502, allocations: 4 kB / 0.6004 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005661/0.5507, allocations: 15.98 kB / 0.6004 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/0.5508, allocations: 11.98 kB / 0.6004 GB, free: 15.51 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * 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.0001253/0.5509, allocations: 121.7 kB / 0.6006 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/0.551, allocations: 11.89 kB / 0.6006 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000776/0.5518, allocations: 352.1 kB / 0.6009 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.5518, allocations: 4 kB / 0.6009 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.5518, allocations: 3.938 kB / 0.6009 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.5518, allocations: 0 / 0.6009 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.5528, allocations: 0.7594 MB / 0.6016 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.5528, allocations: 0 / 0.6016 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006209/0.5535, allocations: 47.89 kB / 0.6017 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.5535, allocations: 0 / 0.6017 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.034e-05/0.5535, allocations: 8 kB / 0.6017 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.5535, allocations: 3.984 kB / 0.6017 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5535, allocations: 4 kB / 0.6017 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000546/0.5541, allocations: 361.6 kB / 0.6021 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.5542, allocations: 108.9 kB / 0.6022 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.652e-05/0.5543, allocations: 4 kB / 0.6022 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005626/0.5548, allocations: 8 kB / 0.6022 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.226e-05/0.5549, allocations: 15.97 kB / 0.6022 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.864e-05/0.5549, allocations: 15.98 kB / 0.6022 GB, free: 13.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.028e-05/0.555, allocations: 79.28 kB / 0.6023 GB, free: 13.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.555, allocations: 0 / 0.6023 GB, free: 13.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004715/0.5555, allocations: 103.9 kB / 0.6024 GB, free: 13.39 MB / 446.1 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * 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.001074/0.5565, allocations: 1.005 MB / 0.6034 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004613/0.557, allocations: 206 kB / 0.6036 GB, free: 12.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.557, allocations: 4.125 kB / 0.6036 GB, free: 12.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.5572, allocations: 119.9 kB / 0.6037 GB, free: 12.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.5576, allocations: 33.95 kB / 0.6037 GB, free: 12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008186/0.5584, allocations: 377 kB / 0.6041 GB, free: 11.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.5586, allocations: 0.6929 MB / 0.6047 GB, free: 10.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004745/0.5591, allocations: 69.62 kB / 0.6048 GB, free: 10.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.5593, allocations: 43.39 kB / 0.6048 GB, free: 10.77 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.5593, allocations: 0 / 0.6048 GB, free: 10.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.5761, allocations: 7.095 MB / 0.6118 GB, free: 3.773 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001588/0.5763, allocations: 182.3 kB / 0.6119 GB, free: 3.523 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/2.459, allocations: 8 kB / 0.612 GB, free: 3.516 MB / 446.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat does not exist to compare? outputFormat=mat