Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001512/0.001512, allocations: 89.3 kB / 20.68 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001733/0.001733, allocations: 157.5 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.769/1.769, allocations: 177 MB / 204.1 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2187/0.2187, allocations: 34.27 MB / 294.8 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 442.6 MB, free: 5.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.577e-05, allocations: 2.281 kB / 442.6 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4256/0.4256, allocations: 132.8 MB / 0.562 GB, free: 0.832 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002116/0.4277, allocations: 1.296 MB / 0.5633 GB, free: 15.54 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.124e-05/0.4278, allocations: 0 / 0.5633 GB, free: 15.54 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004179/0.4282, allocations: 31.83 kB / 0.5633 GB, free: 15.5 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003832/0.432, allocations: 1.112 MB / 0.5644 GB, free: 14.39 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.743e-06/0.432, allocations: 0 / 0.5644 GB, free: 14.39 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.4322, allocations: 71.58 kB / 0.5644 GB, free: 14.32 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.337e-05/0.4322, allocations: 7.938 kB / 0.5644 GB, free: 14.31 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.719e-05/0.4323, allocations: 31.89 kB / 0.5645 GB, free: 14.28 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.241e-05/0.4324, allocations: 27.91 kB / 0.5645 GB, free: 14.25 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.4324, allocations: 4 kB / 0.5645 GB, free: 14.25 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003018/0.4354, allocations: 1.625 MB / 0.5661 GB, free: 12.62 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.246e-05/0.4355, allocations: 11.98 kB / 0.5661 GB, free: 12.61 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.014e-05/0.4355, allocations: 15.94 kB / 0.5661 GB, free: 12.59 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001909/0.4374, allocations: 1.033 MB / 0.5671 GB, free: 11.55 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4374, allocations: 0 / 0.5671 GB, free: 11.55 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4374, allocations: 1.031 kB / 0.5671 GB, free: 11.55 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.4375, allocations: 0 / 0.5671 GB, free: 11.55 MB / 478.1 MB 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.0009515/0.4384, allocations: 436.5 kB / 0.5675 GB, free: 11.1 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.4384, allocations: 12.03 kB / 0.5676 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.4385, allocations: 8.891 kB / 0.5676 GB, free: 11.08 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.4386, allocations: 113.9 kB / 0.5677 GB, free: 10.94 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.4386, allocations: 11.92 kB / 0.5677 GB, free: 10.93 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.679e-06/0.4386, allocations: 0 / 0.5677 GB, free: 10.93 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.4388, allocations: 89.66 kB / 0.5678 GB, free: 10.84 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.4388, allocations: 2.062 kB / 0.5678 GB, free: 10.84 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.4388, allocations: 0 / 0.5678 GB, free: 10.84 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/0.4389, allocations: 4 kB / 0.5678 GB, free: 10.83 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.439, allocations: 71.89 kB / 0.5678 GB, free: 10.76 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005047/0.4395, allocations: 256.4 kB / 0.5681 GB, free: 10.48 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.055e-05/0.4396, allocations: 42.56 kB / 0.5681 GB, free: 10.43 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.48e-05/0.4396, allocations: 16.98 kB / 0.5681 GB, free: 10.41 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001422/0.4398, allocations: 27.97 kB / 0.5682 GB, free: 10.38 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.4398, allocations: 34.5 kB / 0.5682 GB, free: 10.34 MB / 478.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.4398, allocations: 0 / 0.5682 GB, free: 10.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002227/0.44, allocations: 71.45 kB / 0.5683 GB, free: 10.27 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.4401, allocations: 55.34 kB / 0.5683 GB, free: 10.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.897e-05/0.4402, allocations: 105.8 kB / 0.5684 GB, free: 10.09 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.4402, allocations: 25.7 kB / 0.5685 GB, free: 10.05 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.3e-05/0.4402, allocations: 99.98 kB / 0.5685 GB, free: 9.953 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.4403, allocations: 23.83 kB / 0.5686 GB, free: 9.93 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.4403, allocations: 21.72 kB / 0.5686 GB, free: 9.902 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.4405, allocations: 314.8 kB / 0.5689 GB, free: 9.586 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.693e-05/0.4405, allocations: 12 kB / 0.5689 GB, free: 9.574 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.76e-05/0.4406, allocations: 44.92 kB / 0.5689 GB, free: 9.52 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.556e-05/0.4406, allocations: 51.42 kB / 0.569 GB, free: 9.457 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.4406, allocations: 2.125 kB / 0.569 GB, free: 9.457 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002231/0.4409, allocations: 97.47 kB / 0.5691 GB, free: 9.355 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.4409, allocations: 7.984 kB / 0.5691 GB, free: 9.348 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.4409, allocations: 4 kB / 0.5691 GB, free: 9.344 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.4409, allocations: 0 / 0.5691 GB, free: 9.344 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.461e-05/0.441, allocations: 12 kB / 0.5691 GB, free: 9.332 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.441, allocations: 3.938 kB / 0.5691 GB, free: 9.328 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.578e-05/0.441, allocations: 4 kB / 0.5691 GB, free: 9.324 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.4411, allocations: 4 kB / 0.5691 GB, free: 9.32 MB / 478.1 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 (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 9.56e-05/0.4411, allocations: 121.8 kB / 0.5692 GB, free: 9.191 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.4412, allocations: 3.953 kB / 0.5692 GB, free: 9.188 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.4414, allocations: 79.97 kB / 0.5693 GB, free: 9.105 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.4414, allocations: 112 / 0.5693 GB, free: 9.105 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4414, allocations: 7.875 kB / 0.5693 GB, free: 9.098 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4414, allocations: 0 / 0.5693 GB, free: 9.098 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.4415, allocations: 118.1 kB / 0.5694 GB, free: 8.953 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4415, allocations: 0 / 0.5694 GB, free: 8.953 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.144e-05/0.4416, allocations: 4 kB / 0.5694 GB, free: 8.949 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4416, allocations: 0 / 0.5694 GB, free: 8.949 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.4416, allocations: 8 kB / 0.5695 GB, free: 8.941 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.4416, allocations: 0.875 kB / 0.5695 GB, free: 8.941 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4416, allocations: 0 / 0.5695 GB, free: 8.941 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/0.4417, allocations: 167.4 kB / 0.5696 GB, free: 8.762 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.181e-05/0.4418, allocations: 7.984 kB / 0.5696 GB, free: 8.754 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.4418, allocations: 1 kB / 0.5696 GB, free: 8.754 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.941e-05/0.4418, allocations: 0 / 0.5696 GB, free: 8.754 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.792e-05/0.4418, allocations: 7.984 kB / 0.5696 GB, free: 8.746 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.4419, allocations: 7.938 kB / 0.5696 GB, free: 8.738 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.121e-05/0.4419, allocations: 87.09 kB / 0.5697 GB, free: 8.656 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4419, allocations: 0 / 0.5697 GB, free: 8.656 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005293/0.4425, allocations: 155.5 kB / 0.5699 GB, free: 8.504 MB / 478.1 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 (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.0008475/0.4433, allocations: 346.5 kB / 0.5702 GB, free: 8.156 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000136/0.4434, allocations: 39.84 kB / 0.5702 GB, free: 8.117 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4434, allocations: 0 / 0.5702 GB, free: 8.117 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 3.832e-05/0.4435, allocations: 23.92 kB / 0.5703 GB, free: 8.094 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.4438, allocations: 8.188 kB / 0.5703 GB, free: 8.086 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004406/0.4442, allocations: 150 kB / 0.5704 GB, free: 7.914 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.981e-05/0.4443, allocations: 67.28 kB / 0.5705 GB, free: 7.828 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 7.006e-05/0.4444, allocations: 24.12 kB / 0.5705 GB, free: 7.805 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.369e-05/0.4444, allocations: 12.5 kB / 0.5705 GB, free: 7.793 MB / 478.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4444, allocations: 0 / 0.5705 GB, free: 7.793 MB / 478.1 MB Notification: Performance of Templates: time 0.008376/0.4528, allocations: 3.708 MB / 0.5741 GB, free: 4.109 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 5.616580903530121]