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.001796/0.001796, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.002411/0.002411, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.55/1.55, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2254/0.2254, allocations: 46.91 MB / 357.4 MB, free: 10.57 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="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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 71.88 kB / 0.4912 GB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1258, allocations: 66 MB / 0.5557 GB, free: 6.418 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4729/0.5986, allocations: 152.7 MB / 0.7048 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.6002, allocations: 1.064 MB / 0.7058 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.621e-05/0.6003, allocations: 0 / 0.7058 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002795/0.6006, allocations: 44.95 kB / 0.7059 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0008057/0.6014, allocations: 274.5 kB / 0.7061 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004043/0.6018, allocations: 111.7 kB / 0.7063 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002878/0.6021, allocations: 179.2 kB / 0.7064 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.243e-05/0.6022, allocations: 11.92 kB / 0.7064 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002315/0.6024, allocations: 99.62 kB / 0.7065 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.6025, allocations: 55.75 kB / 0.7066 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.6025, allocations: 8 kB / 0.7066 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005595/0.6031, allocations: 267.7 kB / 0.7068 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.801e-05/0.6031, allocations: 19.92 kB / 0.7069 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.231e-05/0.6032, allocations: 51.78 kB / 0.7069 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005363/0.6038, allocations: 286 kB / 0.7072 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.6038, allocations: 0 / 0.7072 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6038, allocations: 2.531 kB / 0.7072 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.6038, allocations: 0 / 0.7072 GB, free: 6.836 MB / 0.5137 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.0006909/0.6045, allocations: 411 kB / 0.7076 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.6045, allocations: 8.031 kB / 0.7076 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.301e-05/0.6046, allocations: 42.73 kB / 0.7076 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0021/0.6067, allocations: 197.1 kB / 0.7078 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003902/0.6071, allocations: 211.8 kB / 0.708 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.6071, allocations: 8 kB / 0.708 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.181e-05/0.6071, allocations: 8 kB / 0.708 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000522/0.6077, allocations: 216.1 kB / 0.7082 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.6077, allocations: 7.938 kB / 0.7082 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.366e-05/0.6077, allocations: 8 kB / 0.7083 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.6077, allocations: 0 / 0.7083 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004461/0.6082, allocations: 167.9 kB / 0.7084 GB, free: 5.469 MB / 0.5137 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.001122/0.6093, allocations: 0.5809 MB / 0.709 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003545/0.6096, allocations: 130.5 kB / 0.7091 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.6098, allocations: 68.83 kB / 0.7092 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.6098, allocations: 4.25 kB / 0.7092 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.6098, allocations: 30.56 kB / 0.7092 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.6098, allocations: 3.938 kB / 0.7092 GB, free: 4.578 MB / 0.5137 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.005217/0.6151, allocations: 1.307 MB / 0.7105 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.6151, allocations: 56.98 kB / 0.7105 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.6152, allocations: 119.3 kB / 0.7107 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.6153, allocations: 29.7 kB / 0.7107 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.05e-05/0.6153, allocations: 99.98 kB / 0.7108 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.618e-05/0.6154, allocations: 67.42 kB / 0.7108 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.6155, allocations: 57.66 kB / 0.7109 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.6157, allocations: 322.8 kB / 0.7112 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.6159, allocations: 67.95 kB / 0.7113 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.6161, allocations: 112.1 kB / 0.7114 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003437/0.6165, allocations: 182.7 kB / 0.7115 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.6165, allocations: 0 / 0.7115 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005297/0.617, allocations: 258.3 kB / 0.7118 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.617, allocations: 5.719 kB / 0.7118 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.617, allocations: 0 / 0.7118 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001899/0.6172, allocations: 52.83 kB / 0.7119 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/0.6175, allocations: 51.91 kB / 0.7119 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004844/0.618, allocations: 0.5719 MB / 0.7125 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.6182, allocations: 15.78 kB / 0.7125 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.023e-05/0.6182, allocations: 27.98 kB / 0.7125 GB, free: 1.02 MB / 0.5137 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.000137/0.6184, allocations: 117.8 kB / 0.7126 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.45e-05/0.6184, allocations: 11.95 kB / 0.7126 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007693/0.6192, allocations: 347 kB / 0.713 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.6192, allocations: 4 kB / 0.713 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.6192, allocations: 4 kB / 0.713 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.6192, allocations: 0 / 0.713 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.6203, allocations: 0.6306 MB / 0.7136 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.6203, allocations: 0 / 0.7136 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000347/0.6206, allocations: 67.98 kB / 0.7136 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.367e-05/0.6207, allocations: 24.78 kB / 0.7137 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.6207, allocations: 12 kB / 0.7137 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.6219, allocations: 1.368 MB / 0.715 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.6219, allocations: 4.031 kB / 0.715 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007772/0.6226, allocations: 437.5 kB / 0.7154 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.088e-05/0.6227, allocations: 89.05 kB / 0.7155 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.6227, allocations: 4 kB / 0.7155 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.623, allocations: 8 kB / 0.7155 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.623, allocations: 19.97 kB / 0.7156 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.702e-05/0.6231, allocations: 31.98 kB / 0.7156 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.841e-05/0.6231, allocations: 95.33 kB / 0.7157 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.6231, allocations: 0 / 0.7157 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004535/0.6236, allocations: 79.92 kB / 0.7157 GB, free: 13.42 MB / 0.5294 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.00145/0.625, allocations: 1.012 MB / 0.7167 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005339/0.6256, allocations: 191.7 kB / 0.7169 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6256, allocations: 0 / 0.7169 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003969/0.626, allocations: 219.8 kB / 0.7171 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004666/0.6264, allocations: 48.22 kB / 0.7172 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003095/0.6295, allocations: 2.069 MB / 0.7192 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.6299, allocations: 0.7124 MB / 0.7199 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003184/0.6302, allocations: 77.77 kB / 0.72 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.6304, allocations: 75.38 kB / 0.72 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of SimCode: time 7.82e-07/0.6304, allocations: 0 / 0.72 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03625/0.6667, allocations: 7.346 MB / 0.7272 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.97, allocations: 14.84 kB / 0.7272 GB, free: 1.562 MB / 0.5294 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.124238909222186]