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.0009819/0.0009819, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004472/0.004472, allocations: 163.4 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8645/0.8645, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.462e-06/1.462e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.396e-05, allocations: 2.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02059/0.02062, allocations: 24.03 MB / 349.9 MB, free: 7.309 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.02249, allocations: 2.009 MB / 351.9 MB, free: 5.293 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.723e-05/0.02258, allocations: 4 kB / 351.9 MB, free: 5.289 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003443/0.02293, allocations: 59.61 kB / 351.9 MB, free: 5.23 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003453/0.02327, allocations: 170.9 kB / 352.1 MB, free: 5.062 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01152/0.03479, allocations: 6.562 MB / 358.7 MB, free: 14.5 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003981/0.03519, allocations: 350.4 kB / 359 MB, free: 14.15 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.169e-05/0.03524, allocations: 13.78 kB / 359 MB, free: 14.14 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000232/0.03547, allocations: 183.6 kB / 359.2 MB, free: 13.96 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.03565, allocations: 119.7 kB / 359.3 MB, free: 13.84 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.03567, allocations: 12 kB / 359.3 MB, free: 13.83 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01073/0.04641, allocations: 9.013 MB / 368.3 MB, free: 4.805 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.04652, allocations: 79.72 kB / 368.4 MB, free: 4.727 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.04664, allocations: 75.83 kB / 368.5 MB, free: 4.652 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00958/0.05622, allocations: 5.897 MB / 374.4 MB, free: 14.74 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.05623, allocations: 0 / 374.4 MB, free: 14.74 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.05623, allocations: 0 / 374.4 MB, free: 14.74 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.05623, allocations: 4 kB / 374.4 MB, free: 14.73 MB / 346.7 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.002604/0.05884, allocations: 1.094 MB / 375.5 MB, free: 13.6 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.05888, allocations: 12.03 kB / 375.5 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.05901, allocations: 28.2 kB / 375.5 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.05922, allocations: 167.4 kB / 375.7 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.05924, allocations: 12.33 kB / 375.7 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.05927, allocations: 15.95 kB / 375.7 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005027/0.05978, allocations: 400.2 kB / 376.1 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.05979, allocations: 4 kB / 376.1 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.05981, allocations: 4 kB / 376.1 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.05983, allocations: 12 kB / 376.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004394/0.06027, allocations: 311.8 kB / 376.4 MB, free: 12.6 MB / 346.7 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.0009243/0.06119, allocations: 0.6478 MB / 377.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000418/0.06161, allocations: 249.2 kB / 377.3 MB, free: 11.65 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.06178, allocations: 125.6 kB / 377.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005109/0.06689, allocations: 2.686 MB / 380.1 MB, free: 8.832 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.06692, allocations: 38.56 kB / 380.2 MB, free: 8.785 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 2.124e-06/0.06692, allocations: 3.938 kB / 380.2 MB, free: 8.781 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.00155/0.06847, allocations: 0.7062 MB / 380.9 MB, free: 8.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.06851, allocations: 81.11 kB / 380.9 MB, free: 7.973 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.908e-05/0.06861, allocations: 145.8 kB / 381.1 MB, free: 7.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.06864, allocations: 29.7 kB / 381.1 MB, free: 7.785 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.142e-05/0.0687, allocations: 120.9 kB / 381.2 MB, free: 7.664 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.016e-05/0.06877, allocations: 130.8 kB / 381.4 MB, free: 7.535 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.524e-05/0.06885, allocations: 69.64 kB / 381.4 MB, free: 7.461 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.083e-05/0.06894, allocations: 334.8 kB / 381.8 MB, free: 7.125 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/0.06914, allocations: 131.9 kB / 381.9 MB, free: 6.996 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.0694, allocations: 211.5 kB / 382.1 MB, free: 6.762 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005372/0.06994, allocations: 373.7 kB / 382.5 MB, free: 6.375 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.06994, allocations: 0 / 382.5 MB, free: 6.375 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006478/0.07059, allocations: 425.2 kB / 382.9 MB, free: 5.953 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.07061, allocations: 4 kB / 382.9 MB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.07062, allocations: 4 kB / 382.9 MB, free: 5.945 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.07064, allocations: 7.984 kB / 382.9 MB, free: 5.938 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.07086, allocations: 87.86 kB / 383 MB, free: 5.852 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.07087, allocations: 4 kB / 383 MB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.071, allocations: 31.88 kB / 383 MB, free: 5.816 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.07103, allocations: 24.05 kB / 383 MB, free: 5.793 MB / 346.7 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.0001068/0.07113, allocations: 141.7 kB / 383.2 MB, free: 5.645 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.229e-05/0.07121, allocations: 19.91 kB / 383.2 MB, free: 5.625 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002941/0.0715, allocations: 178.8 kB / 383.4 MB, free: 5.438 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.07151, allocations: 11.98 kB / 383.4 MB, free: 5.426 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.07152, allocations: 4 kB / 383.4 MB, free: 5.422 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.07152, allocations: 0 / 383.4 MB, free: 5.422 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009411/0.07246, allocations: 0.6773 MB / 384.1 MB, free: 4.691 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.07247, allocations: 0 / 384.1 MB, free: 4.691 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.07266, allocations: 87.81 kB / 384.1 MB, free: 4.605 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.07266, allocations: 4 kB / 384.1 MB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.07268, allocations: 8 kB / 384.2 MB, free: 4.594 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.07269, allocations: 7.984 kB / 384.2 MB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.07269, allocations: 160 / 384.2 MB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008718/0.07356, allocations: 0.7212 MB / 384.9 MB, free: 3.832 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.551e-05/0.07365, allocations: 51.73 kB / 384.9 MB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.07367, allocations: 12 kB / 384.9 MB, free: 3.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.07383, allocations: 19.98 kB / 385 MB, free: 3.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.07386, allocations: 27.95 kB / 385 MB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.07388, allocations: 19.92 kB / 385 MB, free: 3.703 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.128e-05/0.07393, allocations: 114.3 kB / 385.1 MB, free: 3.594 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.07393, allocations: 0 / 385.1 MB, free: 3.594 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002161/0.0761, allocations: 0.9589 MB / 386.1 MB, free: 2.633 MB / 346.7 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.002708/0.0788, allocations: 1.394 MB / 387.5 MB, free: 1.227 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005916/0.07939, allocations: 334.8 kB / 387.8 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.0794, allocations: 0 / 387.8 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002448/0.07964, allocations: 164.5 kB / 388 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.08009, allocations: 107.8 kB / 388.1 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009571/0.08105, allocations: 0.5948 MB / 388.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.208e-05/0.08114, allocations: 133.8 kB / 388.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.08126, allocations: 44.47 kB / 388.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.08126, allocations: 0 / 388.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of Templates: time 0.02315/0.1044, allocations: 20.49 MB / 409.3 MB, free: 11.29 MB / 378.7 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.49944716040045]