Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.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.IdealGasN2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009208/0.0009208, allocations: 97.2 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008914/0.0008918, allocations: 193.3 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.4 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.239/0.239, allocations: 45.91 MB / 344.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00041/0.0004101, allocations: 7.938 kB / 418.2 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1686, allocations: 63.47 MB / 481.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.5427/0.7114, allocations: 135.5 MB / 0.6027 GB, free: 14.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.7128, allocations: 0.906 MB / 0.6036 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.268e-05/0.7128, allocations: 0 / 0.6036 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002477/0.7131, allocations: 23.89 kB / 0.6036 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005542/0.7137, allocations: 209.5 kB / 0.6038 GB, free: 13.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.714, allocations: 91.42 kB / 0.6039 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.7143, allocations: 187.2 kB / 0.6041 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.895e-05/0.7143, allocations: 11.97 kB / 0.6041 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.7145, allocations: 79.69 kB / 0.6041 GB, free: 13.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.7146, allocations: 55.77 kB / 0.6042 GB, free: 13.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.7147, allocations: 0 / 0.6042 GB, free: 13.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004886/0.7152, allocations: 267.7 kB / 0.6045 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.518e-05/0.7152, allocations: 23.91 kB / 0.6045 GB, free: 13 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.283e-05/0.7153, allocations: 41.7 kB / 0.6045 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.7156, allocations: 209.8 kB / 0.6047 GB, free: 12.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.7156, allocations: 0 / 0.6047 GB, free: 12.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.7156, allocations: 0 / 0.6047 GB, free: 12.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.872e-06/0.7156, allocations: 3.938 kB / 0.6047 GB, free: 12.74 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004814/0.7161, allocations: 379.9 kB / 0.6051 GB, free: 12.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.7162, allocations: 12.03 kB / 0.6051 GB, free: 12.31 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.707e-05/0.7162, allocations: 42.55 kB / 0.6051 GB, free: 12.26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001835/0.718, allocations: 199.6 kB / 0.6053 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.7183, allocations: 203.8 kB / 0.6055 GB, free: 11.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.7183, allocations: 8 kB / 0.6055 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.056e-05/0.7184, allocations: 4 kB / 0.6055 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000468/0.7188, allocations: 234.7 kB / 0.6058 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.7189, allocations: 0 / 0.6058 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.7189, allocations: 4 kB / 0.6058 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.7189, allocations: 0 / 0.6058 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004049/0.7193, allocations: 171.8 kB / 0.6059 GB, free: 11.4 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.0009666/0.7203, allocations: 0.5849 MB / 0.6065 GB, free: 10.76 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.7206, allocations: 130.5 kB / 0.6066 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.7208, allocations: 68.83 kB / 0.6067 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.7208, allocations: 0 / 0.6067 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.7208, allocations: 38.56 kB / 0.6067 GB, free: 10.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 3.025e-06/0.7208, allocations: 4 kB / 0.6067 GB, free: 10.5 MB / 446.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.004583/0.7254, allocations: 1.305 MB / 0.608 GB, free: 9.105 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.7255, allocations: 55.34 kB / 0.608 GB, free: 9.039 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.031e-05/0.7256, allocations: 121.8 kB / 0.6082 GB, free: 8.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.7256, allocations: 29.64 kB / 0.6082 GB, free: 8.875 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.416e-05/0.7257, allocations: 99.97 kB / 0.6083 GB, free: 8.773 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.172e-05/0.7257, allocations: 63.02 kB / 0.6083 GB, free: 8.711 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-05/0.7258, allocations: 4 kB / 0.6084 GB, free: 8.707 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.7259, allocations: 322.8 kB / 0.6087 GB, free: 8.383 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.726, allocations: 75.81 kB / 0.6087 GB, free: 8.309 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.7262, allocations: 103 kB / 0.6088 GB, free: 8.199 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.7264, allocations: 76.92 kB / 0.6089 GB, free: 8.125 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.7264, allocations: 4 kB / 0.6089 GB, free: 8.121 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004476/0.7268, allocations: 258.9 kB / 0.6092 GB, free: 7.859 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.7269, allocations: 4 kB / 0.6092 GB, free: 7.855 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.7269, allocations: 8.094 kB / 0.6092 GB, free: 7.848 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001689/0.7271, allocations: 48.83 kB / 0.6092 GB, free: 7.797 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.7274, allocations: 55.89 kB / 0.6093 GB, free: 7.742 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003929/0.7278, allocations: 0.5718 MB / 0.6098 GB, free: 7.145 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.7279, allocations: 12.09 kB / 0.6098 GB, free: 7.133 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.021e-05/0.728, allocations: 20 kB / 0.6099 GB, free: 7.113 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001132/0.7281, allocations: 129.7 kB / 0.61 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.7281, allocations: 15.81 kB / 0.61 GB, free: 6.961 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007907/0.7289, allocations: 338.3 kB / 0.6103 GB, free: 6.625 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.729, allocations: 4 kB / 0.6103 GB, free: 6.621 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.729, allocations: 7.938 kB / 0.6103 GB, free: 6.613 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.729, allocations: 3.984 kB / 0.6103 GB, free: 6.609 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008925/0.7299, allocations: 0.6176 MB / 0.6109 GB, free: 5.926 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.7299, allocations: 0 / 0.6109 GB, free: 5.926 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003156/0.7302, allocations: 63.89 kB / 0.611 GB, free: 5.863 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-05/0.7303, allocations: 20.94 kB / 0.611 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.7303, allocations: 15.98 kB / 0.611 GB, free: 5.824 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00086/0.7312, allocations: 1.273 MB / 0.6123 GB, free: 4.418 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.7312, allocations: 4 kB / 0.6123 GB, free: 4.414 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006301/0.7318, allocations: 430.7 kB / 0.6127 GB, free: 3.965 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.107e-05/0.7319, allocations: 88.95 kB / 0.6128 GB, free: 3.859 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.7319, allocations: 7.938 kB / 0.6128 GB, free: 3.852 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.7321, allocations: 8 kB / 0.6128 GB, free: 3.844 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.7322, allocations: 27.92 kB / 0.6128 GB, free: 3.816 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.903e-05/0.7322, allocations: 27.98 kB / 0.6128 GB, free: 3.789 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.826e-05/0.7323, allocations: 91.58 kB / 0.6129 GB, free: 3.699 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7323, allocations: 4.062 kB / 0.6129 GB, free: 3.695 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004081/0.7327, allocations: 76 kB / 0.613 GB, free: 3.621 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * 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 (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001119/0.7338, allocations: 1.012 MB / 0.614 GB, free: 2.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004592/0.7343, allocations: 206.8 kB / 0.6142 GB, free: 2.371 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.7343, allocations: 0 / 0.6142 GB, free: 2.371 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003252/0.7347, allocations: 218.5 kB / 0.6144 GB, free: 2.145 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.7351, allocations: 52.28 kB / 0.6145 GB, free: 2.094 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.7368, allocations: 1.087 MB / 0.6155 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.7371, allocations: 0.7088 MB / 0.6162 GB, free: 212 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000436/0.7375, allocations: 85.52 kB / 0.6163 GB, free: 128 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/0.7378, allocations: 71.39 kB / 0.6164 GB, free: 56 kB / 446.1 MB Notification: Performance of SimCode: time 4e-07/0.7378, allocations: 0 / 0.6164 GB, free: 56 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01985/0.7576, allocations: 6.9 MB / 0.6231 GB, free: 9.301 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002238/0.7579, allocations: 202.6 kB / 0.6233 GB, free: 9.062 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.047/2.805, allocations: 0 / 0.6233 GB, free: 9.062 MB / 462.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat