Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.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.001338/0.001338, allocations: 82.5 kB / 20.68 MB, free: 1.039 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.001385/0.001385, allocations: 163.5 kB / 23.95 MB, free: 4.172 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.423/1.423, allocations: 177.2 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 325.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.536e-05, allocations: 3.219 kB / 325.1 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.04206/0.04209, allocations: 24.02 MB / 349.1 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00304/0.04513, allocations: 2.009 MB / 351.1 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.985e-05/0.04521, allocations: 3.938 kB / 351.1 MB, free: 11.06 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003438/0.04555, allocations: 59.66 kB / 351.2 MB, free: 11 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004283/0.04598, allocations: 174.8 kB / 351.3 MB, free: 10.83 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01679/0.06277, allocations: 6.568 MB / 357.9 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005076/0.06328, allocations: 350.5 kB / 358.2 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.06332, allocations: 9.797 kB / 358.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002857/0.06361, allocations: 183.5 kB / 358.4 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.06383, allocations: 111.7 kB / 358.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.594e-05/0.06387, allocations: 12 kB / 358.5 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0167/0.08056, allocations: 9.016 MB / 367.6 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.08072, allocations: 79.78 kB / 367.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001807/0.0809, allocations: 79.83 kB / 367.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01361/0.09451, allocations: 5.897 MB / 373.6 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.09451, allocations: 0 / 373.6 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.09452, allocations: 0 / 373.6 MB, free: 4.516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.09452, allocations: 0 / 373.6 MB, free: 4.516 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003416/0.09794, allocations: 1.094 MB / 374.7 MB, free: 3.383 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.09799, allocations: 12.03 kB / 374.7 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.09815, allocations: 28.2 kB / 374.8 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.09841, allocations: 164.9 kB / 374.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.09843, allocations: 12.33 kB / 374.9 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.968e-05/0.09848, allocations: 15.95 kB / 374.9 MB, free: 3.129 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008112/0.09929, allocations: 408.1 kB / 375.3 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.0993, allocations: 4 kB / 375.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.072e-05/0.09933, allocations: 4 kB / 375.3 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/0.09935, allocations: 8 kB / 375.4 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008369/0.1002, allocations: 307.8 kB / 375.7 MB, free: 2.379 MB / 334.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/0.1017, allocations: 0.6557 MB / 376.3 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007854/0.1024, allocations: 245.2 kB / 376.5 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000335/0.1028, allocations: 129.6 kB / 376.7 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0118/0.1146, allocations: 2.686 MB / 379.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.279e-05/0.1146, allocations: 38.56 kB / 379.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.515e-06/0.1146, allocations: 0 / 379.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.003102/0.1177, allocations: 0.7103 MB / 380.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.1178, allocations: 81.11 kB / 380.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.118, allocations: 152.7 kB / 380.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.422e-05/0.118, allocations: 29.7 kB / 380.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.694e-05/0.1181, allocations: 116.9 kB / 380.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.1182, allocations: 130.8 kB / 380.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.1183, allocations: 69.64 kB / 380.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1185, allocations: 330.8 kB / 381 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004178/0.1189, allocations: 135.9 kB / 381.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005443/0.1195, allocations: 211.5 kB / 381.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.1205, allocations: 363.4 kB / 381.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/0.1205, allocations: 4 kB / 381.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001299/0.1218, allocations: 424.3 kB / 382.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1218, allocations: 8 kB / 382.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.1218, allocations: 0 / 382.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.1218, allocations: 4 kB / 382.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005058/0.1223, allocations: 96.08 kB / 382.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.1223, allocations: 4 kB / 382.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000312/0.1227, allocations: 23.94 kB / 382.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-05/0.1227, allocations: 27.91 kB / 382.3 MB, free: 11.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * 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 0.0001637/0.1229, allocations: 141.7 kB / 382.4 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.123, allocations: 19.91 kB / 382.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005165/0.1235, allocations: 198.7 kB / 382.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.1236, allocations: 4 kB / 382.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1236, allocations: 0 / 382.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1236, allocations: 0 / 382.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.1254, allocations: 0.6774 MB / 383.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.1254, allocations: 4 kB / 383.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004731/0.1259, allocations: 87.97 kB / 383.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.1259, allocations: 4 kB / 383.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/0.1259, allocations: 12 kB / 383.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1259, allocations: 0 / 383.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.1259, allocations: 7.938 kB / 383.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.1276, allocations: 0.7107 MB / 384.1 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.1278, allocations: 55.77 kB / 384.2 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.283e-05/0.1278, allocations: 8 kB / 384.2 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000374/0.1282, allocations: 19.98 kB / 384.2 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.541e-05/0.1282, allocations: 27.89 kB / 384.2 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.104e-05/0.1283, allocations: 24.05 kB / 384.3 MB, free: 9.469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.751e-05/0.1284, allocations: 111.2 kB / 384.4 MB, free: 9.359 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1284, allocations: 0 / 384.4 MB, free: 9.359 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003439/0.1318, allocations: 0.9589 MB / 385.3 MB, free: 8.398 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * 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 (37): * Single equations (assignments): 37 * 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.004385/0.1362, allocations: 1.391 MB / 386.7 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.1374, allocations: 327.6 kB / 387 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.1374, allocations: 448 / 387 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005521/0.1379, allocations: 170.8 kB / 387.2 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008248/0.1388, allocations: 104.1 kB / 387.3 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.1403, allocations: 0.5648 MB / 387.9 MB, free: 5.805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.1404, allocations: 141.8 kB / 388 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000336/0.1408, allocations: 82.17 kB / 388.1 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.1409, allocations: 48.47 kB / 388.1 MB, free: 5.516 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1409, allocations: 0 / 388.1 MB, free: 5.516 MB / 350.1 MB Notification: Performance of Templates: time 0.04772/0.1887, allocations: 30.19 MB / 418.3 MB, free: 7.406 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.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: 6.030396681278944]