Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa") translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 183.1 kB / 8.52 MB, free: 1.859 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.25/1.25, allocations: 221.4 MB / 230.3 MB, free: 7.691 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009087/0.0009087, allocations: 84.73 kB / 281.2 MB, free: 5.445 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1812/0.1812, allocations: 44.14 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.715e-06/7.825e-06, allocations: 224 / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1356, allocations: 61.91 MB / 0.4941 GB, free: 1.633 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.017/1.152, allocations: 471.2 MB / 0.9543 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/1.153, allocations: 66.28 kB / 0.9543 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.07567/1.228, allocations: 40.57 MB / 0.994 GB, free: 94.97 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.628e-06/1.228, allocations: 0 / 0.994 GB, free: 94.97 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000413/1.229, allocations: 415 kB / 0.9944 GB, free: 94.52 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/1.229, allocations: 15.97 kB / 0.9944 GB, free: 94.51 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/1.229, allocations: 11.89 kB / 0.9944 GB, free: 94.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.492e-05/1.229, allocations: 163 kB / 0.9945 GB, free: 94.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/1.229, allocations: 4 kB / 0.9945 GB, free: 94.29 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/1.229, allocations: 7.906 kB / 0.9946 GB, free: 94.29 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.622e-05/1.229, allocations: 39.98 kB / 0.9946 GB, free: 94.25 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.765e-05/1.229, allocations: 62.8 kB / 0.9947 GB, free: 94.18 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/1.229, allocations: 3.938 kB / 0.9947 GB, free: 94.18 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/1.229, allocations: 3.938 kB / 0.9947 GB, free: 94.17 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/1.229, allocations: 0 / 0.9947 GB, free: 94.17 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003441/1.23, allocations: 362.3 kB / 0.995 GB, free: 93.76 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.306e-05/1.23, allocations: 49.7 kB / 0.9951 GB, free: 93.71 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.589e-05/1.23, allocations: 16.86 kB / 0.9951 GB, free: 93.69 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009298/1.231, allocations: 1.005 MB / 0.996 GB, free: 92.48 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/1.231, allocations: 38.69 kB / 0.9961 GB, free: 92.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.183e-06/1.231, allocations: 0 / 0.9961 GB, free: 92.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.007366/1.238, allocations: 0.9182 MB / 0.997 GB, free: 91.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.92e-05/1.238, allocations: 59.34 kB / 0.997 GB, free: 91.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.592e-05/1.238, allocations: 93 kB / 0.9971 GB, free: 91.34 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/1.238, allocations: 25.7 kB / 0.9972 GB, free: 91.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.786e-05/1.238, allocations: 104.2 kB / 0.9973 GB, free: 91.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.96e-05/1.238, allocations: 39.36 kB / 0.9973 GB, free: 91.16 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/1.238, allocations: 0 / 0.9973 GB, free: 91.16 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.419e-05/1.238, allocations: 318.8 kB / 0.9976 GB, free: 90.84 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/1.238, allocations: 67.98 kB / 0.9977 GB, free: 90.77 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/1.239, allocations: 90.55 kB / 0.9977 GB, free: 90.67 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/1.24, allocations: 232.8 kB / 0.998 GB, free: 90.45 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/1.24, allocations: 0 / 0.998 GB, free: 90.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001478/1.241, allocations: 373.9 kB / 0.9983 GB, free: 90.07 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/1.241, allocations: 8 kB / 0.9983 GB, free: 90.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/1.241, allocations: 3.984 kB / 0.9983 GB, free: 90.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/1.241, allocations: 0 / 0.9983 GB, free: 90.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005922/1.242, allocations: 47.95 kB / 0.9984 GB, free: 90.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/1.242, allocations: 11.92 kB / 0.9984 GB, free: 90 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004355/1.242, allocations: 19.84 kB / 0.9984 GB, free: 89.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.621e-05/1.242, allocations: 24.03 kB / 0.9984 GB, free: 89.96 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * 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 9.176e-05/1.243, allocations: 101 kB / 0.9985 GB, free: 89.86 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.157e-05/1.243, allocations: 7.906 kB / 0.9985 GB, free: 89.85 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001801/1.244, allocations: 495.9 kB / 0.999 GB, free: 89.36 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/1.244, allocations: 7.938 kB / 0.999 GB, free: 89.35 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/1.244, allocations: 0 / 0.999 GB, free: 89.35 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/1.244, allocations: 7.891 kB / 0.999 GB, free: 89.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001883/1.246, allocations: 0.8365 MB / 0.9998 GB, free: 88.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/1.246, allocations: 4 kB / 0.9998 GB, free: 88.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000486/1.247, allocations: 43.91 kB / 0.9999 GB, free: 88.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/1.247, allocations: 7.969 kB / 0.9999 GB, free: 88.38 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/1.247, allocations: 4 kB / 0.9999 GB, free: 88.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/1.247, allocations: 0 / 0.9999 GB, free: 88.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.247, allocations: 3.906 kB / 0.9999 GB, free: 88.37 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001468/1.248, allocations: 479.1 kB / 1 GB, free: 87.89 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.921e-05/1.248, allocations: 105 kB / 1 GB, free: 87.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.553e-05/1.249, allocations: 0 / 1 GB, free: 87.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004042/1.249, allocations: 15.92 kB / 1 GB, free: 87.75 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/1.249, allocations: 11.98 kB / 1 GB, free: 87.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.271e-05/1.249, allocations: 11.98 kB / 1 GB, free: 87.73 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.2e-05/1.249, allocations: 79.28 kB / 1.001 GB, free: 87.65 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005026/1.25, allocations: 139.8 kB / 1.001 GB, free: 87.51 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * 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.0008238/1.25, allocations: 0.7306 MB / 1.001 GB, free: 86.77 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003193/1.251, allocations: 190.5 kB / 1.002 GB, free: 86.59 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.251, allocations: 0 / 1.002 GB, free: 86.59 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/1.251, allocations: 103.9 kB / 1.002 GB, free: 86.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/1.251, allocations: 28.09 kB / 1.002 GB, free: 86.46 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005368/1.252, allocations: 175.2 kB / 1.002 GB, free: 86.26 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003569/1.252, allocations: 0.7428 MB / 1.003 GB, free: 85.49 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/1.252, allocations: 4 kB / 1.003 GB, free: 85.48 MB / 0.5105 GB Notification: Performance of Templates: time 0.01101/1.263, allocations: 8.83 MB / 1.011 GB, free: 76.66 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches