Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir") translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 95.92 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001514, allocations: 182.2 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2148/0.2148, allocations: 44.22 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.000337, allocations: 8 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1537, allocations: 61.92 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4483/0.6021, allocations: 115.3 MB / 0.573 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004381/0.6065, allocations: 3.847 MB / 0.5768 GB, free: 10.35 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.6067, allocations: 0 / 0.5768 GB, free: 10.35 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003375/0.607, allocations: 43.78 kB / 0.5768 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001628/0.6087, allocations: 0.631 MB / 0.5774 GB, free: 9.672 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000374/0.6091, allocations: 145 kB / 0.5776 GB, free: 9.535 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000525/0.6096, allocations: 255.4 kB / 0.5778 GB, free: 9.285 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.312e-05/0.6097, allocations: 13.67 kB / 0.5778 GB, free: 9.273 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002463/0.6099, allocations: 143.6 kB / 0.5779 GB, free: 9.133 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.6102, allocations: 163.5 kB / 0.5781 GB, free: 8.973 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.6102, allocations: 8 kB / 0.5781 GB, free: 8.965 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001595/0.6119, allocations: 0.6164 MB / 0.5787 GB, free: 8.348 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.305e-05/0.6119, allocations: 43.81 kB / 0.5788 GB, free: 8.305 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.54e-05/0.612, allocations: 57.64 kB / 0.5788 GB, free: 8.242 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005386/0.6126, allocations: 301.2 kB / 0.5791 GB, free: 7.957 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.6126, allocations: 0 / 0.5791 GB, free: 7.957 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.6126, allocations: 0 / 0.5791 GB, free: 7.957 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.6126, allocations: 0 / 0.5791 GB, free: 7.957 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001056/0.6137, allocations: 0.5466 MB / 0.5796 GB, free: 7.363 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.6137, allocations: 8.031 kB / 0.5796 GB, free: 7.355 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.6139, allocations: 27.75 kB / 0.5797 GB, free: 7.328 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.6142, allocations: 224.6 kB / 0.5799 GB, free: 7.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/0.6143, allocations: 131.3 kB / 0.58 GB, free: 6.914 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.6144, allocations: 20 kB / 0.58 GB, free: 6.895 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005107/0.6149, allocations: 322.8 kB / 0.5803 GB, free: 6.555 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.6149, allocations: 0 / 0.5803 GB, free: 6.555 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.399e-05/0.6149, allocations: 12 kB / 0.5803 GB, free: 6.543 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.615, allocations: 8 kB / 0.5803 GB, free: 6.535 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007831/0.6158, allocations: 0.7352 MB / 0.5811 GB, free: 5.801 MB / 414.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.001411/0.6172, allocations: 1.269 MB / 0.5823 GB, free: 4.414 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003964/0.6176, allocations: 171.7 kB / 0.5825 GB, free: 4.238 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002502/0.6201, allocations: 2.651 MB / 0.5851 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.6202, allocations: 30.56 kB / 0.5851 GB, free: 1.055 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 3.667e-06/0.6202, allocations: 0 / 0.5851 GB, free: 1.055 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007135/0.6209, allocations: 237.4 kB / 0.5853 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.6209, allocations: 59.41 kB / 0.5854 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.6211, allocations: 207.8 kB / 0.5856 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.6212, allocations: 29.7 kB / 0.5856 GB, free: 0.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.6213, allocations: 202.8 kB / 0.5858 GB, free: 300 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/0.6214, allocations: 63.19 kB / 0.5859 GB, free: 236 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.239e-05/0.6214, allocations: 8 kB / 0.5859 GB, free: 228 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.6215, allocations: 334.8 kB / 0.5862 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.052e-05/0.6216, allocations: 44.84 kB / 0.5862 GB, free: 15.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003008/0.6219, allocations: 329.2 kB / 0.5865 GB, free: 15.39 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.6221, allocations: 103.8 kB / 0.5866 GB, free: 15.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.6221, allocations: 4 kB / 0.5866 GB, free: 15.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005081/0.6226, allocations: 361.6 kB / 0.587 GB, free: 14.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.6226, allocations: 8 kB / 0.587 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.6227, allocations: 16.16 kB / 0.587 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.6227, allocations: 12 kB / 0.587 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003634/0.6231, allocations: 119.7 kB / 0.5871 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/0.6231, allocations: 15.94 kB / 0.5871 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.6233, allocations: 23.94 kB / 0.5872 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.729e-05/0.6234, allocations: 27.98 kB / 0.5872 GB, free: 14.71 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (52): * Single equations (assignments): 51 * Array equations: 1 * 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.0001409/0.6235, allocations: 150.1 kB / 0.5873 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.6236, allocations: 27.72 kB / 0.5874 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003475/0.6239, allocations: 179.7 kB / 0.5875 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.6239, allocations: 4 kB / 0.5875 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.6239, allocations: 0 / 0.5875 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.6239, allocations: 3.938 kB / 0.5875 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005994/0.6246, allocations: 469.7 kB / 0.588 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.6246, allocations: 4.125 kB / 0.588 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.6247, allocations: 35.98 kB / 0.588 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.6248, allocations: 0 / 0.588 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.6248, allocations: 4 kB / 0.588 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.6248, allocations: 0.625 kB / 0.588 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.6248, allocations: 11.98 kB / 0.588 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.6251, allocations: 285.4 kB / 0.5883 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.6252, allocations: 108.9 kB / 0.5884 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.6252, allocations: 4 kB / 0.5884 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.6254, allocations: 11.98 kB / 0.5884 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.6255, allocations: 19.92 kB / 0.5885 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.6255, allocations: 7.984 kB / 0.5885 GB, free: 13.26 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001185/0.6256, allocations: 144.5 kB / 0.5886 GB, free: 13.12 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6256, allocations: 0 / 0.5886 GB, free: 13.12 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004982/0.6262, allocations: 95.95 kB / 0.5887 GB, free: 13.02 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 13 * Array equations: 1 * 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.0003015/0.6265, allocations: 151.2 kB / 0.5888 GB, free: 12.86 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00036/0.6268, allocations: 180.7 kB / 0.589 GB, free: 12.69 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.6268, allocations: 0 / 0.589 GB, free: 12.69 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.865e-05/0.6269, allocations: 39.86 kB / 0.589 GB, free: 12.65 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.6273, allocations: 48.5 kB / 0.5891 GB, free: 12.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008883/0.6282, allocations: 0.5143 MB / 0.5896 GB, free: 12.05 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004376/0.6287, allocations: 0.7287 MB / 0.5903 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002577/0.629, allocations: 59.11 kB / 0.5904 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.044e-05/0.629, allocations: 31.42 kB / 0.5904 GB, free: 11.2 MB / 430.1 MB Notification: Performance of SimCode: time 2.1e-07/0.629, allocations: 0 / 0.5904 GB, free: 11.2 MB / 430.1 MB Notification: Performance of Templates: time 0.0072/0.6362, allocations: 2.952 MB / 0.5933 GB, free: 8.289 MB / 430.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches