Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 95.31 kB / 20.43 MB, free: 4.141 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8937/0.8937, allocations: 158.6 MB / 185.6 MB, free: 2.934 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1407/0.1407, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.82e-07/9.82e-07, allocations: 0 / 347.6 MB, free: 9.488 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.262e-05/1.361e-05, allocations: 4.281 kB / 347.6 MB, free: 9.484 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3344/0.3344, allocations: 145.2 MB / 492.8 MB, free: 9.395 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.3357, allocations: 1.221 MB / 494 MB, free: 9.148 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.688e-05/0.3357, allocations: 0 / 494 MB, free: 9.148 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004009/0.3361, allocations: 27.56 kB / 494 MB, free: 9.133 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002276/0.3384, allocations: 0.907 MB / 494.9 MB, free: 8.734 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.433e-06/0.3384, allocations: 0 / 494.9 MB, free: 8.734 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.3386, allocations: 51.58 kB / 495 MB, free: 8.707 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.86e-05/0.3386, allocations: 7.891 kB / 495 MB, free: 8.703 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.415e-05/0.3387, allocations: 26.41 kB / 495 MB, free: 8.695 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.531e-05/0.3387, allocations: 22.38 kB / 495.1 MB, free: 8.688 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.3388, allocations: 0 / 495.1 MB, free: 8.688 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001898/0.3407, allocations: 1.38 MB / 496.4 MB, free: 8.266 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.113e-05/0.3407, allocations: 13.89 kB / 496.4 MB, free: 8.258 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.197e-05/0.3407, allocations: 8.719 kB / 496.5 MB, free: 8.258 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.3418, allocations: 0.8609 MB / 497.3 MB, free: 7.945 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.806e-06/0.3418, allocations: 0 / 497.3 MB, free: 7.945 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.3418, allocations: 0 / 497.3 MB, free: 7.945 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.3418, allocations: 4 kB / 497.3 MB, free: 7.941 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006464/0.3425, allocations: 491.3 kB / 497.8 MB, free: 7.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.3425, allocations: 11.94 kB / 497.8 MB, free: 7.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.665e-05/0.3426, allocations: 11.31 kB / 497.8 MB, free: 7.477 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.737e-05/0.3426, allocations: 111.6 kB / 497.9 MB, free: 7.344 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.3426, allocations: 2.562 kB / 497.9 MB, free: 7.344 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.3427, allocations: 3.875 kB / 497.9 MB, free: 7.344 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.3428, allocations: 52.53 kB / 498 MB, free: 7.301 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3428, allocations: 0 / 498 MB, free: 7.301 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.3428, allocations: 2.375 kB / 498 MB, free: 7.301 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-05/0.3429, allocations: 11.36 kB / 498 MB, free: 7.293 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.875e-05/0.3429, allocations: 23.95 kB / 498 MB, free: 7.289 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.3434, allocations: 287.8 kB / 498.3 MB, free: 7.016 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.327e-05/0.3434, allocations: 38.98 kB / 498.3 MB, free: 6.977 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.591e-05/0.3435, allocations: 10.62 kB / 498.4 MB, free: 6.965 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001119/0.3436, allocations: 18.8 kB / 498.4 MB, free: 6.961 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.3436, allocations: 33.39 kB / 498.4 MB, free: 6.918 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 2.685e-06/0.3436, allocations: 3.938 kB / 498.4 MB, free: 6.914 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001676/0.3438, allocations: 55.05 kB / 498.5 MB, free: 6.871 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.3438, allocations: 51.41 kB / 498.5 MB, free: 6.809 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.402e-05/0.3439, allocations: 168.2 kB / 498.7 MB, free: 6.633 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.226e-06/0.3439, allocations: 28.83 kB / 498.7 MB, free: 6.602 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.044e-05/0.3439, allocations: 142.2 kB / 498.8 MB, free: 6.461 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.606e-06/0.3439, allocations: 8.125 kB / 498.9 MB, free: 6.457 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.344, allocations: 28.33 kB / 498.9 MB, free: 6.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.701e-05/0.344, allocations: 499.4 kB / 499.4 MB, free: 5.934 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.37e-05/0.344, allocations: 5.375 kB / 499.4 MB, free: 5.934 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.09e-05/0.3441, allocations: 44.27 kB / 499.4 MB, free: 5.883 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.012e-05/0.3441, allocations: 53.34 kB / 499.5 MB, free: 5.828 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.3441, allocations: 0 / 499.5 MB, free: 5.828 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.91e-05/0.3442, allocations: 71.17 kB / 499.5 MB, free: 5.781 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3442, allocations: 9.391 kB / 499.5 MB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3442, allocations: 0 / 499.5 MB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.3443, allocations: 3.531 kB / 499.5 MB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.091e-05/0.3443, allocations: 8.125 kB / 499.6 MB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.3444, allocations: 3.031 kB / 499.6 MB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.238e-05/0.3444, allocations: 11.38 kB / 499.6 MB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.3444, allocations: 6.781 kB / 499.6 MB, free: 5.766 MB / 362.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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.403e-05/0.3444, allocations: 155.6 kB / 499.7 MB, free: 5.605 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.3445, allocations: 7.328 kB / 499.7 MB, free: 5.602 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/0.3446, allocations: 57.59 kB / 499.8 MB, free: 5.559 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3446, allocations: 0 / 499.8 MB, free: 5.559 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3446, allocations: 3.312 kB / 499.8 MB, free: 5.559 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3446, allocations: 0 / 499.8 MB, free: 5.559 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.999e-05/0.3447, allocations: 125.2 kB / 499.9 MB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3447, allocations: 4 kB / 499.9 MB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.703e-05/0.3447, allocations: 5.531 kB / 499.9 MB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.3447, allocations: 0 / 499.9 MB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.3448, allocations: 3 kB / 499.9 MB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.3448, allocations: 0 / 499.9 MB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3448, allocations: 0 / 499.9 MB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.669e-05/0.3448, allocations: 199.2 kB / 0.4884 GB, free: 5.211 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.118e-05/0.3448, allocations: 9.328 kB / 0.4884 GB, free: 5.207 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.3449, allocations: 3.938 kB / 0.4884 GB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.528e-05/0.3449, allocations: 3.312 kB / 0.4884 GB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.993e-05/0.3449, allocations: 0 / 0.4884 GB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.3449, allocations: 6.844 kB / 0.4884 GB, free: 5.199 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.444e-05/0.3449, allocations: 122.5 kB / 0.4885 GB, free: 5.082 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3449, allocations: 0 / 0.4885 GB, free: 5.082 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003087/0.3452, allocations: 101.2 kB / 0.4886 GB, free: 5.051 MB / 362.7 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004705/0.3457, allocations: 263.8 kB / 0.4889 GB, free: 4.898 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001359/0.3458, allocations: 33.36 kB / 0.4889 GB, free: 4.879 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3458, allocations: 0 / 0.4889 GB, free: 4.879 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.328e-05/0.3459, allocations: 12.94 kB / 0.4889 GB, free: 4.867 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.3461, allocations: 10.5 kB / 0.4889 GB, free: 4.863 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007001/0.3468, allocations: 150 kB / 0.4891 GB, free: 4.727 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.464e-05/0.3468, allocations: 53.73 kB / 0.4891 GB, free: 4.656 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.852e-05/0.3469, allocations: 17.16 kB / 0.4892 GB, free: 4.648 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.171e-05/0.3469, allocations: 11.5 kB / 0.4892 GB, free: 4.641 MB / 362.7 MB Notification: Performance of SimCode: time 9.61e-07/0.3469, allocations: 0 / 0.4892 GB, free: 4.641 MB / 362.7 MB Notification: Performance of Templates: time 0.00533/0.3523, allocations: 2.724 MB / 0.4918 GB, free: 3.277 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.47863852372393]