Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001352/0.001352, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.001487/0.001487, allocations: 215.6 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.686/1.686, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2304/0.2304, allocations: 46.97 MB / 361.6 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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|Tsat",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 63.91 kB / 0.4973 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3526, allocations: 66.04 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1741/0.5267, allocations: 132.8 MB / 0.6915 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002164/0.5289, allocations: 1.308 MB / 0.6928 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.4e-05/0.5289, allocations: 0 / 0.6928 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003517/0.5293, allocations: 31.83 kB / 0.6928 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003151/0.5324, allocations: 1.087 MB / 0.6938 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 5.751e-06/0.5325, allocations: 0 / 0.6938 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.5326, allocations: 71.62 kB / 0.6939 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.49e-05/0.5326, allocations: 4 kB / 0.6939 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.231e-05/0.5327, allocations: 31.8 kB / 0.694 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.242e-05/0.5328, allocations: 43.83 kB / 0.694 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.616e-06/0.5328, allocations: 0 / 0.694 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003039/0.5358, allocations: 1.598 MB / 0.6956 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.754e-05/0.5359, allocations: 15.86 kB / 0.6956 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.494e-05/0.5359, allocations: 19.94 kB / 0.6956 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00163/0.5375, allocations: 0.8884 MB / 0.6965 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5375, allocations: 0 / 0.6965 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.243e-06/0.5375, allocations: 0 / 0.6965 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.5375, allocations: 4 kB / 0.6965 GB, free: 9.777 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008267/0.5384, allocations: 432.6 kB / 0.6969 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.5384, allocations: 12.03 kB / 0.6969 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.5384, allocations: 4.891 kB / 0.6969 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.5386, allocations: 117.7 kB / 0.697 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.5386, allocations: 3.984 kB / 0.697 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.5386, allocations: 7.938 kB / 0.697 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.5388, allocations: 81.66 kB / 0.6971 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.5388, allocations: 4 kB / 0.6971 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.5388, allocations: 4 kB / 0.6971 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.766e-05/0.5388, allocations: 11.98 kB / 0.6971 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.5389, allocations: 63.97 kB / 0.6972 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004861/0.5394, allocations: 260.3 kB / 0.6974 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.055e-05/0.5395, allocations: 38.56 kB / 0.6975 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.325e-05/0.5395, allocations: 12.98 kB / 0.6975 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001373/0.5397, allocations: 39.95 kB / 0.6975 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.5397, allocations: 30.56 kB / 0.6975 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.5397, allocations: 0 / 0.6975 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0002124/0.5399, allocations: 73.56 kB / 0.6976 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.5399, allocations: 51.41 kB / 0.6977 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.463e-05/0.54, allocations: 114 kB / 0.6978 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.5401, allocations: 29.69 kB / 0.6978 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/0.5401, allocations: 96.03 kB / 0.6979 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.5401, allocations: 19.8 kB / 0.6979 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.5402, allocations: 21.72 kB / 0.6979 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.5403, allocations: 318.8 kB / 0.6982 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.532e-05/0.5404, allocations: 8 kB / 0.6982 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.123e-05/0.5404, allocations: 39.67 kB / 0.6983 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.817e-05/0.5405, allocations: 67.36 kB / 0.6983 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.5405, allocations: 0 / 0.6983 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001392/0.5406, allocations: 81.55 kB / 0.6984 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.5407, allocations: 11.88 kB / 0.6984 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.5407, allocations: 0 / 0.6984 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.5407, allocations: 4 kB / 0.6984 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.452e-05/0.5408, allocations: 12 kB / 0.6984 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.5408, allocations: 4 kB / 0.6984 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.321e-05/0.5408, allocations: 3.953 kB / 0.6984 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.5408, allocations: 8.078 kB / 0.6985 GB, free: 7.535 MB / 0.5294 GB 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 (8): * Single equations (assignments): 7 * Array equations: 1 * 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 8.439e-05/0.5409, allocations: 117.8 kB / 0.6986 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.5409, allocations: 7.938 kB / 0.6986 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.5411, allocations: 81.44 kB / 0.6987 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.5411, allocations: 0 / 0.6987 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5411, allocations: 112 / 0.6987 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.5411, allocations: 3.938 kB / 0.6987 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.5413, allocations: 121.3 kB / 0.6988 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.5413, allocations: 0 / 0.6988 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.344e-05/0.5413, allocations: 8 kB / 0.6988 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.5413, allocations: 0 / 0.6988 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.5413, allocations: 7.922 kB / 0.6988 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5413, allocations: 4 kB / 0.6988 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.5413, allocations: 0 / 0.6988 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.5415, allocations: 159.6 kB / 0.6989 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.798e-06/0.5415, allocations: 4 kB / 0.6989 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.5415, allocations: 7.938 kB / 0.699 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.852e-05/0.5416, allocations: 0 / 0.699 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.989e-05/0.5416, allocations: 11.98 kB / 0.699 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.78e-06/0.5416, allocations: 0 / 0.699 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.402e-05/0.5416, allocations: 87.28 kB / 0.6991 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5416, allocations: 0 / 0.6991 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005253/0.5422, allocations: 147.5 kB / 0.6992 GB, free: 6.719 MB / 0.5294 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 1 * 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.0007927/0.543, allocations: 326.5 kB / 0.6995 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001412/0.5431, allocations: 40.11 kB / 0.6995 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5431, allocations: 4 kB / 0.6995 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.769e-05/0.5431, allocations: 15.94 kB / 0.6996 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.5434, allocations: 11.08 kB / 0.6996 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000428/0.5438, allocations: 206.3 kB / 0.6998 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.047e-05/0.5439, allocations: 71.23 kB / 0.6998 GB, free: 6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.47e-05/0.5439, allocations: 19.44 kB / 0.6999 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of SimCode: time 4.11e-07/0.5439, allocations: 0 / 0.6999 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of Templates: time 0.006097/0.55, allocations: 3.211 MB / 0.703 GB, free: 2.773 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.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: 8.962864357046783]