Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 95.86 kB / 17.31 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 178.4 kB / 18.21 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 223.3 MB / 242.3 MB, free: 244 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002683/0.0002683, allocations: 13.41 kB / 302.1 MB, free: 6.145 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0863/0.08658, allocations: 50.41 MB / 352.5 MB, free: 3.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3259/0.4126, allocations: 147.4 MB / 499.8 MB, free: 2.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.4147, allocations: 1.578 MB / 0.4897 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.4148, allocations: 0 / 0.4897 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003906/0.4153, allocations: 63.09 kB / 0.4897 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004478/0.4157, allocations: 149.6 kB / 0.4899 GB, free: 444 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003198/0.4189, allocations: 0.8896 MB / 0.4907 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005862/0.4195, allocations: 482.6 kB / 0.4912 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.695e-05/0.4196, allocations: 13.44 kB / 0.4912 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003304/0.4199, allocations: 140.9 kB / 0.4914 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002872/0.4202, allocations: 131.6 kB / 0.4915 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.373e-05/0.4203, allocations: 8 kB / 0.4915 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003273/0.4236, allocations: 1.649 MB / 0.4931 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.4238, allocations: 67.78 kB / 0.4932 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.424, allocations: 113.3 kB / 0.4933 GB, free: 12.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001533/0.4255, allocations: 0.6938 MB / 0.4939 GB, free: 12.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4255, allocations: 0 / 0.4939 GB, free: 12.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4255, allocations: 0 / 0.4939 GB, free: 12.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.4256, allocations: 1.594 kB / 0.4939 GB, free: 12.27 MB / 414.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.001787/0.4273, allocations: 0.6403 MB / 0.4946 GB, free: 11.58 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.4274, allocations: 8.031 kB / 0.4946 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.4276, allocations: 24.75 kB / 0.4946 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.4278, allocations: 211.5 kB / 0.4948 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.4278, allocations: 12.33 kB / 0.4948 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.88e-05/0.4279, allocations: 16 kB / 0.4948 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005838/0.4285, allocations: 257.4 kB / 0.4951 GB, free: 11.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.4285, allocations: 0 / 0.4951 GB, free: 11.01 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/0.4286, allocations: 16 kB / 0.4951 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.4286, allocations: 8.812 kB / 0.4951 GB, free: 10.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006583/0.4292, allocations: 263.8 kB / 0.4954 GB, free: 10.73 MB / 414.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.001443/0.4307, allocations: 0.7863 MB / 0.4961 GB, free: 9.867 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006467/0.4314, allocations: 229.1 kB / 0.4963 GB, free: 9.625 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/0.4317, allocations: 133.6 kB / 0.4965 GB, free: 9.488 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003398/0.432, allocations: 352.4 kB / 0.4968 GB, free: 9.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.4321, allocations: 39.88 kB / 0.4968 GB, free: 9.023 MB / 414.1 MB Notification: Performance of pre-optimization done (n=29): time 2.554e-06/0.4321, allocations: 0 / 0.4968 GB, free: 9.023 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.00251/0.4346, allocations: 0.6765 MB / 0.4975 GB, free: 8.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.4347, allocations: 81.11 kB / 0.4976 GB, free: 8.242 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.4348, allocations: 121.8 kB / 0.4977 GB, free: 8.113 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.4348, allocations: 33.7 kB / 0.4977 GB, free: 8.074 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.698e-05/0.4349, allocations: 112.8 kB / 0.4978 GB, free: 7.961 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.435, allocations: 126.2 kB / 0.498 GB, free: 7.836 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.957e-05/0.4351, allocations: 33.7 kB / 0.498 GB, free: 7.797 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.4352, allocations: 322.8 kB / 0.4983 GB, free: 7.473 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003855/0.4356, allocations: 131.9 kB / 0.4984 GB, free: 7.344 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004213/0.436, allocations: 215.5 kB / 0.4986 GB, free: 7.105 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008162/0.4369, allocations: 360.8 kB / 0.499 GB, free: 6.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4369, allocations: 3.938 kB / 0.499 GB, free: 6.727 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009855/0.4379, allocations: 409.1 kB / 0.4994 GB, free: 6.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.4379, allocations: 4 kB / 0.4994 GB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.4379, allocations: 4 kB / 0.4994 GB, free: 6.312 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.4379, allocations: 4 kB / 0.4994 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004792/0.4384, allocations: 87.88 kB / 0.4995 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.4384, allocations: 7.984 kB / 0.4995 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003364/0.4388, allocations: 32.05 kB / 0.4995 GB, free: 6.184 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.229e-05/0.4388, allocations: 23.92 kB / 0.4995 GB, free: 6.16 MB / 414.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.0001497/0.439, allocations: 141.8 kB / 0.4997 GB, free: 6.012 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.132e-05/0.4391, allocations: 15.81 kB / 0.4997 GB, free: 5.996 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003811/0.4395, allocations: 178.3 kB / 0.4998 GB, free: 5.812 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.4395, allocations: 4 kB / 0.4998 GB, free: 5.809 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.4395, allocations: 0 / 0.4998 GB, free: 5.809 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.4395, allocations: 3.984 kB / 0.4998 GB, free: 5.805 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/0.4412, allocations: 0.7605 MB / 0.5006 GB, free: 4.973 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.4412, allocations: 3.938 kB / 0.5006 GB, free: 4.969 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004328/0.4417, allocations: 83.81 kB / 0.5007 GB, free: 4.887 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.4417, allocations: 4.375 kB / 0.5007 GB, free: 4.883 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/0.4417, allocations: 8 kB / 0.5007 GB, free: 4.875 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/0.4417, allocations: 8 kB / 0.5007 GB, free: 4.867 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.4417, allocations: 12.14 kB / 0.5007 GB, free: 4.855 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.4431, allocations: 0.7037 MB / 0.5014 GB, free: 4.117 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.4433, allocations: 120.9 kB / 0.5015 GB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.338e-05/0.4434, allocations: 12.06 kB / 0.5015 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003758/0.4437, allocations: 19.92 kB / 0.5015 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/0.4438, allocations: 27.95 kB / 0.5016 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.529e-05/0.4438, allocations: 16 kB / 0.5016 GB, free: 3.906 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.002e-05/0.4439, allocations: 91.27 kB / 0.5017 GB, free: 3.816 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4439, allocations: 4 kB / 0.5017 GB, free: 3.812 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006106/0.4445, allocations: 139.9 kB / 0.5018 GB, free: 3.676 MB / 414.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 (38): * Single equations (assignments): 38 * 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.0005371/0.4451, allocations: 227 kB / 0.502 GB, free: 3.445 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009252/0.446, allocations: 339.6 kB / 0.5023 GB, free: 3.117 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.446, allocations: 4 kB / 0.5023 GB, free: 3.113 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004178/0.4465, allocations: 183.5 kB / 0.5025 GB, free: 2.938 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007448/0.4472, allocations: 91.84 kB / 0.5026 GB, free: 2.848 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.4487, allocations: 0.7797 MB / 0.5034 GB, free: 2.016 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.449, allocations: 0.7335 MB / 0.5041 GB, free: 1.258 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.4492, allocations: 39.41 kB / 0.5041 GB, free: 1.219 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4492, allocations: 0 / 0.5041 GB, free: 1.219 MB / 414.1 MB Notification: Performance of Templates: time 0.007347/0.4566, allocations: 4.356 MB / 0.5084 GB, free: 12.86 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches