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.001106/0.001106, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009088/0.0009088, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.888/0.888, allocations: 177 MB / 204.1 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2544/0.2544, allocations: 34.25 MB / 294.8 MB, free: 0.6719 MB / 266.7 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 1.413e-06/1.413e-06, allocations: 0 / 442.1 MB, free: 1.574 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1e-05/1.241e-05, allocations: 2.281 kB / 442.1 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.2771/0.2771, allocations: 131.4 MB / 0.5601 GB, free: 13 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.000956/0.278, allocations: 0.9616 MB / 0.561 GB, free: 12.04 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.84e-05/0.2781, allocations: 0 / 0.561 GB, free: 12.04 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002623/0.2783, allocations: 31.77 kB / 0.561 GB, free: 12.01 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005806/0.2789, allocations: 278.3 kB / 0.5613 GB, free: 11.73 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002949/0.2792, allocations: 119.6 kB / 0.5614 GB, free: 11.62 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.000204/0.2794, allocations: 183.1 kB / 0.5616 GB, free: 11.44 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.257e-05/0.2795, allocations: 4 kB / 0.5616 GB, free: 11.43 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00025/0.2797, allocations: 123.6 kB / 0.5617 GB, free: 11.31 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.01e-05/0.2798, allocations: 51.81 kB / 0.5618 GB, free: 11.26 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.2798, allocations: 8 kB / 0.5618 GB, free: 11.25 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000357/0.2802, allocations: 259.6 kB / 0.562 GB, free: 11 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 5.887e-05/0.2802, allocations: 19.91 kB / 0.562 GB, free: 10.98 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 4.272e-05/0.2803, allocations: 31.92 kB / 0.5621 GB, free: 10.95 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003551/0.2806, allocations: 331.1 kB / 0.5624 GB, free: 10.62 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2806, allocations: 0 / 0.5624 GB, free: 10.62 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2806, allocations: 0 / 0.5624 GB, free: 10.62 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.2806, allocations: 0 / 0.5624 GB, free: 10.62 MB / 474.7 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.0004751/0.2811, allocations: 334.5 kB / 0.5627 GB, free: 10.27 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.2812, allocations: 8.031 kB / 0.5627 GB, free: 10.27 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.366e-05/0.2812, allocations: 46.75 kB / 0.5628 GB, free: 10.21 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.2823, allocations: 207.9 kB / 0.563 GB, free: 10.01 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.2826, allocations: 145.6 kB / 0.5631 GB, free: 9.844 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.2826, allocations: 11.94 kB / 0.5631 GB, free: 9.832 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.2826, allocations: 4 kB / 0.5631 GB, free: 9.828 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000381/0.283, allocations: 309.1 kB / 0.5634 GB, free: 9.492 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.283, allocations: 0 / 0.5634 GB, free: 9.492 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.2831, allocations: 0 / 0.5634 GB, free: 9.492 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2831, allocations: 5.031 kB / 0.5634 GB, free: 9.488 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002741/0.2833, allocations: 171.8 kB / 0.5636 GB, free: 9.32 MB / 474.7 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.0006932/0.284, allocations: 0.5233 MB / 0.5641 GB, free: 8.75 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000335/0.2844, allocations: 134.5 kB / 0.5642 GB, free: 8.609 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.807e-05/0.2844, allocations: 80.33 kB / 0.5643 GB, free: 8.531 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.2845, allocations: 0 / 0.5643 GB, free: 8.531 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.2845, allocations: 34.56 kB / 0.5643 GB, free: 8.488 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.2845, allocations: 0 / 0.5643 GB, free: 8.488 MB / 474.7 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.003005/0.2875, allocations: 1.154 MB / 0.5655 GB, free: 7.293 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.2875, allocations: 59.41 kB / 0.5655 GB, free: 7.223 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.397e-05/0.2876, allocations: 109.8 kB / 0.5656 GB, free: 7.105 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.2876, allocations: 29.7 kB / 0.5656 GB, free: 7.07 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.602e-05/0.2877, allocations: 99.97 kB / 0.5657 GB, free: 6.969 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.759e-05/0.2877, allocations: 63.44 kB / 0.5658 GB, free: 6.906 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-05/0.2878, allocations: 60.94 kB / 0.5659 GB, free: 6.844 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.642e-05/0.2879, allocations: 322.8 kB / 0.5662 GB, free: 6.52 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.288, allocations: 63.97 kB / 0.5662 GB, free: 6.457 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.2881, allocations: 103.4 kB / 0.5663 GB, free: 6.344 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.2883, allocations: 193.5 kB / 0.5665 GB, free: 6.145 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2884, allocations: 0 / 0.5665 GB, free: 6.145 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003593/0.2887, allocations: 259.5 kB / 0.5668 GB, free: 5.883 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.2887, allocations: 4 kB / 0.5668 GB, free: 5.879 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.2887, allocations: 0 / 0.5668 GB, free: 5.879 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001774/0.2889, allocations: 52.83 kB / 0.5668 GB, free: 5.824 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.2891, allocations: 66.36 kB / 0.5669 GB, free: 5.762 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000385/0.2895, allocations: 0.564 MB / 0.5674 GB, free: 5.172 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.046e-05/0.2896, allocations: 8.031 kB / 0.5674 GB, free: 5.164 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/0.2896, allocations: 24 kB / 0.5675 GB, free: 5.141 MB / 474.7 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 (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.0001218/0.2897, allocations: 133.7 kB / 0.5676 GB, free: 5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.2898, allocations: 7.953 kB / 0.5676 GB, free: 4.992 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006731/0.2905, allocations: 341.8 kB / 0.5679 GB, free: 4.656 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2905, allocations: 7.938 kB / 0.5679 GB, free: 4.648 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.2905, allocations: 7.188 kB / 0.5679 GB, free: 4.645 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2905, allocations: 0 / 0.5679 GB, free: 4.645 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006779/0.2911, allocations: 0.5863 MB / 0.5685 GB, free: 4.004 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2911, allocations: 0 / 0.5685 GB, free: 4.004 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.2913, allocations: 59.89 kB / 0.5686 GB, free: 3.945 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.132e-05/0.2914, allocations: 28.94 kB / 0.5686 GB, free: 3.914 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.2914, allocations: 15.98 kB / 0.5686 GB, free: 3.898 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007035/0.2921, allocations: 1.248 MB / 0.5698 GB, free: 2.535 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2921, allocations: 0 / 0.5698 GB, free: 2.535 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004201/0.2925, allocations: 438 kB / 0.5702 GB, free: 2.082 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.108e-05/0.2926, allocations: 12.05 kB / 0.5703 GB, free: 2.07 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.2926, allocations: 11.98 kB / 0.5703 GB, free: 2.059 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.2927, allocations: 4 kB / 0.5703 GB, free: 2.055 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.2927, allocations: 27.92 kB / 0.5703 GB, free: 2.027 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.783e-05/0.2927, allocations: 27.97 kB / 0.5703 GB, free: 2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.524e-05/0.2928, allocations: 91.58 kB / 0.5704 GB, free: 1.91 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2928, allocations: 0 / 0.5704 GB, free: 1.91 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002823/0.2931, allocations: 83.88 kB / 0.5705 GB, free: 1.828 MB / 474.7 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 (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.0007836/0.2938, allocations: 1.01 MB / 0.5715 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003158/0.2942, allocations: 200 kB / 0.5717 GB, free: 0.582 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2942, allocations: 0 / 0.5717 GB, free: 0.582 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.2944, allocations: 217.7 kB / 0.5719 GB, free: 368 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.2947, allocations: 52.48 kB / 0.5719 GB, free: 316 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.2963, allocations: 2.005 MB / 0.5739 GB, free: 14.19 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.513e-05/0.2964, allocations: 98.03 kB / 0.574 GB, free: 14.08 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001974/0.2966, allocations: 72.45 kB / 0.574 GB, free: 14.01 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.2967, allocations: 72.45 kB / 0.5741 GB, free: 13.94 MB / 490.7 MB Notification: Performance of SimCode: time 9.12e-07/0.2967, allocations: 4 kB / 0.5741 GB, free: 13.94 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0207/0.3174, allocations: 7.999 MB / 0.5819 GB, free: 6.094 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.072/8.39, allocations: 0 / 0.5819 GB, free: 6.094 MB / 490.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/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: 10.348024169914424]