Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.698/1.698, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009158/0.000916, allocations: 87.88 kB / 261.7 MB, free: 1.617 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2007/0.2007, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.273e-05/1.275e-05, allocations: 0 / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1236, allocations: 58.85 MB / 477.1 MB, free: 1.656 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9878/1.111, allocations: 376.8 MB / 0.8338 GB, free: 58.12 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/1.112, allocations: 78.55 kB / 0.8339 GB, free: 58.09 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04513/1.157, allocations: 21.09 MB / 0.8545 GB, free: 40.88 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.814e-06/1.157, allocations: 0 / 0.8545 GB, free: 40.88 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.585e-05/1.157, allocations: 0 / 0.8545 GB, free: 40.88 MB / 0.4948 GB 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.0008628/1.158, allocations: 0.5583 MB / 0.8551 GB, free: 40.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/1.158, allocations: 15.97 kB / 0.8551 GB, free: 40.29 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/1.158, allocations: 31.23 kB / 0.8551 GB, free: 40.26 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/1.158, allocations: 226.3 kB / 0.8553 GB, free: 40.01 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.661e-05/1.158, allocations: 115.4 kB / 0.8554 GB, free: 39.87 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/1.158, allocations: 12 kB / 0.8554 GB, free: 39.86 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005996/1.159, allocations: 0.7152 MB / 0.8561 GB, free: 39.26 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/1.159, allocations: 278.9 kB / 0.8564 GB, free: 39.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/1.159, allocations: 4 kB / 0.8564 GB, free: 39.02 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.562e-05/1.159, allocations: 0 / 0.8564 GB, free: 39.02 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/1.159, allocations: 8 kB / 0.8564 GB, free: 39.01 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00216/1.162, allocations: 3.194 MB / 0.8595 GB, free: 35.44 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.43e-05/1.162, allocations: 61.06 kB / 0.8596 GB, free: 35.38 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.58e-05/1.162, allocations: 32.45 kB / 0.8596 GB, free: 35.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005148/1.162, allocations: 0.5311 MB / 0.8601 GB, free: 34.78 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/1.162, allocations: 34.52 kB / 0.8602 GB, free: 34.74 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/1.162, allocations: 0 / 0.8602 GB, free: 34.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0004898/1.163, allocations: 143.6 kB / 0.8603 GB, free: 34.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/1.163, allocations: 55.41 kB / 0.8604 GB, free: 34.54 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/1.163, allocations: 199.7 kB / 0.8606 GB, free: 34.36 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/1.163, allocations: 25.7 kB / 0.8606 GB, free: 34.33 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.56e-05/1.163, allocations: 228 kB / 0.8608 GB, free: 34.12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/1.163, allocations: 38.48 kB / 0.8608 GB, free: 34.09 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.528e-06/1.163, allocations: 4 kB / 0.8608 GB, free: 34.08 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.732e-05/1.163, allocations: 326 kB / 0.8611 GB, free: 33.76 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.197e-05/1.163, allocations: 39.61 kB / 0.8612 GB, free: 33.73 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/1.164, allocations: 321.1 kB / 0.8615 GB, free: 33.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/1.164, allocations: 101.3 kB / 0.8616 GB, free: 33.22 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.164, allocations: 7.938 kB / 0.8616 GB, free: 33.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004918/1.164, allocations: 326.3 kB / 0.8619 GB, free: 32.91 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/1.164, allocations: 12 kB / 0.8619 GB, free: 32.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/1.164, allocations: 11.95 kB / 0.8619 GB, free: 32.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/1.164, allocations: 16 kB / 0.8619 GB, free: 32.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002934/1.165, allocations: 103.2 kB / 0.862 GB, free: 32.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.121e-05/1.165, allocations: 24.45 kB / 0.8621 GB, free: 32.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/1.165, allocations: 12 kB / 0.8621 GB, free: 32.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/1.165, allocations: 32.11 kB / 0.8621 GB, free: 32.71 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 8.705e-05/1.165, allocations: 128.6 kB / 0.8622 GB, free: 32.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/1.165, allocations: 15.81 kB / 0.8622 GB, free: 32.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001766/1.165, allocations: 97.27 kB / 0.8623 GB, free: 32.48 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/1.165, allocations: 3.953 kB / 0.8623 GB, free: 32.47 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.165, allocations: 8 kB / 0.8624 GB, free: 32.46 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.165, allocations: 4 kB / 0.8624 GB, free: 32.46 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003795/1.166, allocations: 370.5 kB / 0.8627 GB, free: 32.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/1.166, allocations: 3.938 kB / 0.8627 GB, free: 32.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/1.166, allocations: 23.98 kB / 0.8627 GB, free: 32.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/1.166, allocations: 0 / 0.8627 GB, free: 32.06 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/1.166, allocations: 3.953 kB / 0.8627 GB, free: 32.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/1.166, allocations: 4 kB / 0.8627 GB, free: 32.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.166, allocations: 0 / 0.8627 GB, free: 32.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/1.166, allocations: 207.6 kB / 0.8629 GB, free: 31.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-05/1.166, allocations: 113.8 kB / 0.863 GB, free: 31.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.453e-05/1.166, allocations: 0 / 0.863 GB, free: 31.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/1.166, allocations: 7.984 kB / 0.8631 GB, free: 31.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.532e-05/1.166, allocations: 0 / 0.8631 GB, free: 31.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/1.166, allocations: 15.11 kB / 0.8631 GB, free: 31.69 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.406e-05/1.167, allocations: 139.1 kB / 0.8632 GB, free: 31.57 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/1.167, allocations: 0 / 0.8632 GB, free: 31.57 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004701/1.167, allocations: 87.88 kB / 0.8633 GB, free: 31.48 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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.0003051/1.167, allocations: 174.9 kB / 0.8635 GB, free: 31.31 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002187/1.168, allocations: 143.5 kB / 0.8636 GB, free: 31.19 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/1.168, allocations: 4.875 kB / 0.8636 GB, free: 31.18 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.658e-05/1.168, allocations: 19.44 kB / 0.8636 GB, free: 31.17 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/1.168, allocations: 39.16 kB / 0.8637 GB, free: 31.14 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000313/1.168, allocations: 173.5 kB / 0.8638 GB, free: 30.95 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/1.168, allocations: 0.7287 MB / 0.8645 GB, free: 30.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002372/1.169, allocations: 53.91 kB / 0.8646 GB, free: 30.14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.494e-05/1.169, allocations: 27.38 kB / 0.8646 GB, free: 30.12 MB / 0.4948 GB Notification: Performance of SimCode: time 2.3e-07/1.169, allocations: 3.938 kB / 0.8646 GB, free: 30.11 MB / 0.4948 GB Notification: Performance of Templates: time 0.005294/1.174, allocations: 2.692 MB / 0.8672 GB, free: 27.44 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches