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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.00131, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001441/0.001441, allocations: 207.4 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 230.5 MB / 258.2 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2189/0.2189, allocations: 46.93 MB / 361.6 MB, free: 4.168 MB / 286.1 MB " [Timeout remaining time 180] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002396/0.002396, allocations: 75.88 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2946, allocations: 66.07 MB / 0.5615 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1805/0.4752, allocations: 152.8 MB / 0.7107 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.4768, allocations: 1.051 MB / 0.7117 GB, free: 9.902 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.801e-05/0.4769, allocations: 0 / 0.7117 GB, free: 9.902 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.4772, allocations: 39.75 kB / 0.7117 GB, free: 9.863 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008403/0.478, allocations: 272.5 kB / 0.712 GB, free: 9.598 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.4784, allocations: 122.9 kB / 0.7121 GB, free: 9.48 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003144/0.4787, allocations: 183.2 kB / 0.7123 GB, free: 9.301 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.503e-05/0.4788, allocations: 4 kB / 0.7123 GB, free: 9.297 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002501/0.479, allocations: 99.55 kB / 0.7124 GB, free: 9.199 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.4792, allocations: 63.75 kB / 0.7124 GB, free: 9.137 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.4792, allocations: 4 kB / 0.7124 GB, free: 9.133 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006348/0.4798, allocations: 271.7 kB / 0.7127 GB, free: 8.867 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.781e-05/0.4799, allocations: 27.91 kB / 0.7127 GB, free: 8.84 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.271e-05/0.4799, allocations: 43.86 kB / 0.7128 GB, free: 8.797 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005952/0.4805, allocations: 287.2 kB / 0.713 GB, free: 8.516 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.4805, allocations: 0 / 0.713 GB, free: 8.516 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.353e-06/0.4805, allocations: 0 / 0.713 GB, free: 8.516 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.4806, allocations: 0 / 0.713 GB, free: 8.516 MB / 0.545 GB 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.0005696/0.4811, allocations: 333.8 kB / 0.7134 GB, free: 8.16 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.4812, allocations: 12.03 kB / 0.7134 GB, free: 8.148 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.758e-05/0.4812, allocations: 4.188 kB / 0.7134 GB, free: 8.145 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.609e-05/0.4812, allocations: 46.69 kB / 0.7134 GB, free: 8.09 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002141/0.4834, allocations: 196.6 kB / 0.7136 GB, free: 7.898 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003433/0.4837, allocations: 153.4 kB / 0.7138 GB, free: 7.723 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.4837, allocations: 4 kB / 0.7138 GB, free: 7.719 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.883e-05/0.4838, allocations: 8 kB / 0.7138 GB, free: 7.711 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005575/0.4843, allocations: 226.8 kB / 0.714 GB, free: 7.477 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.4843, allocations: 7.938 kB / 0.714 GB, free: 7.469 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.682e-05/0.4844, allocations: 7.984 kB / 0.714 GB, free: 7.461 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.4844, allocations: 0 / 0.714 GB, free: 7.461 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004636/0.4849, allocations: 166.1 kB / 0.7142 GB, free: 7.301 MB / 0.545 GB 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.001177/0.486, allocations: 0.5667 MB / 0.7147 GB, free: 6.684 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003442/0.4864, allocations: 130.5 kB / 0.7148 GB, free: 6.547 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.4865, allocations: 64.83 kB / 0.7149 GB, free: 6.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.4865, allocations: 8.25 kB / 0.7149 GB, free: 6.473 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.4866, allocations: 42.44 kB / 0.7149 GB, free: 6.422 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.4866, allocations: 0 / 0.7149 GB, free: 6.422 MB / 0.545 GB 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.005225/0.4918, allocations: 1.154 MB / 0.7161 GB, free: 5.211 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.4919, allocations: 55.41 kB / 0.7161 GB, free: 5.145 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.492, allocations: 105.8 kB / 0.7162 GB, free: 5.031 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.492, allocations: 33.7 kB / 0.7163 GB, free: 4.992 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.647e-05/0.4921, allocations: 99.97 kB / 0.7164 GB, free: 4.891 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.085e-05/0.4921, allocations: 67.39 kB / 0.7164 GB, free: 4.824 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.987e-05/0.4922, allocations: 53.69 kB / 0.7165 GB, free: 4.766 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.4924, allocations: 330.8 kB / 0.7168 GB, free: 4.434 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.4925, allocations: 67.97 kB / 0.7168 GB, free: 4.367 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/0.4927, allocations: 103.2 kB / 0.7169 GB, free: 4.254 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003633/0.4931, allocations: 187.3 kB / 0.7171 GB, free: 4.059 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.4931, allocations: 0 / 0.7171 GB, free: 4.059 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000518/0.4936, allocations: 257.3 kB / 0.7174 GB, free: 3.801 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.4936, allocations: 11.94 kB / 0.7174 GB, free: 3.789 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4936, allocations: 0 / 0.7174 GB, free: 3.789 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001826/0.4938, allocations: 48.83 kB / 0.7174 GB, free: 3.738 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003245/0.4941, allocations: 56.06 kB / 0.7175 GB, free: 3.684 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004696/0.4946, allocations: 0.564 MB / 0.718 GB, free: 3.094 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.4948, allocations: 8.031 kB / 0.718 GB, free: 3.086 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.875e-05/0.4948, allocations: 23.98 kB / 0.7181 GB, free: 3.062 MB / 0.545 GB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001421/0.495, allocations: 127.1 kB / 0.7182 GB, free: 2.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.198e-05/0.495, allocations: 15.98 kB / 0.7182 GB, free: 2.914 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007562/0.4958, allocations: 339.3 kB / 0.7185 GB, free: 2.578 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.4958, allocations: 4 kB / 0.7185 GB, free: 2.574 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.4958, allocations: 0 / 0.7185 GB, free: 2.574 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.4958, allocations: 7.922 kB / 0.7185 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.4968, allocations: 0.5988 MB / 0.7191 GB, free: 1.906 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.4968, allocations: 4 kB / 0.7191 GB, free: 1.902 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.4972, allocations: 63.89 kB / 0.7192 GB, free: 1.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.982e-05/0.4973, allocations: 20.84 kB / 0.7192 GB, free: 1.816 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/0.4973, allocations: 11.98 kB / 0.7192 GB, free: 1.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/0.4983, allocations: 1.267 MB / 0.7205 GB, free: 436 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4983, allocations: 0 / 0.7205 GB, free: 436 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007563/0.4991, allocations: 437.3 kB / 0.7209 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.108e-05/0.4991, allocations: 11.98 kB / 0.7209 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/0.4991, allocations: 4 kB / 0.7209 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.4994, allocations: 12.05 kB / 0.7209 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/0.4994, allocations: 23.97 kB / 0.7209 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-05/0.4995, allocations: 31.92 kB / 0.7209 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.481e-05/0.4995, allocations: 91.25 kB / 0.721 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.4995, allocations: 0 / 0.721 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004112/0.4999, allocations: 79.94 kB / 0.7211 GB, free: 15.72 MB / 0.5606 GB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001314/0.5013, allocations: 1.008 MB / 0.7221 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005079/0.5018, allocations: 191.8 kB / 0.7223 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.5018, allocations: 4.188 kB / 0.7223 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003638/0.5021, allocations: 222.5 kB / 0.7225 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.5026, allocations: 39.97 kB / 0.7225 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/0.5055, allocations: 2.101 MB / 0.7246 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.5058, allocations: 0.7046 MB / 0.7253 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003039/0.5061, allocations: 85.75 kB / 0.7254 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.5063, allocations: 63.41 kB / 0.7254 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.5063, allocations: 0 / 0.7254 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03424/0.5405, allocations: 7.557 MB / 0.7328 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.08, allocations: 15.61 kB / 0.7328 GB, free: 3.645 MB / 0.5606 GB " [Timeout remaining time 647] (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/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.252515251049772]