Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.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.001332/0.001332, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001424/0.001424, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.408/1.408, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 43.92 kB / 379 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2443, allocations: 53.36 MB / 432.4 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3886/0.633, allocations: 155 MB / 0.5736 GB, free: 13.03 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.6345, allocations: 1.616 MB / 0.5751 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.555e-05/0.6345, allocations: 0 / 0.5751 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003371/0.6349, allocations: 65.05 kB / 0.5752 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003782/0.6353, allocations: 168.4 kB / 0.5754 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002506/0.6378, allocations: 1.063 MB / 0.5764 GB, free: 12.63 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004407/0.6382, allocations: 353.7 kB / 0.5767 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.99e-05/0.6383, allocations: 9.078 kB / 0.5768 GB, free: 12.56 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002878/0.6385, allocations: 167.4 kB / 0.5769 GB, free: 12.55 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.6388, allocations: 136.2 kB / 0.577 GB, free: 12.54 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/0.6388, allocations: 12.72 kB / 0.5771 GB, free: 12.54 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00272/0.6415, allocations: 1.689 MB / 0.5787 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.6416, allocations: 70.2 kB / 0.5788 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.6418, allocations: 107 kB / 0.5789 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001793/0.6436, allocations: 1.039 MB / 0.5799 GB, free: 12.37 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6436, allocations: 1.203 kB / 0.5799 GB, free: 12.37 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.6436, allocations: 0 / 0.5799 GB, free: 12.37 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.6436, allocations: 0 / 0.5799 GB, free: 12.37 MB / 462.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.00182/0.6454, allocations: 0.6327 MB / 0.5805 GB, free: 11.97 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.6454, allocations: 10.47 kB / 0.5805 GB, free: 11.97 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.6456, allocations: 21.38 kB / 0.5805 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.6458, allocations: 166 kB / 0.5807 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.6459, allocations: 9.656 kB / 0.5807 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.576e-05/0.6459, allocations: 25.27 kB / 0.5807 GB, free: 11.81 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005047/0.6464, allocations: 263.6 kB / 0.581 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.6464, allocations: 2 kB / 0.581 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/0.6464, allocations: 13.19 kB / 0.581 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.6465, allocations: 5.375 kB / 0.581 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000556/0.647, allocations: 264.9 kB / 0.5813 GB, free: 11.75 MB / 462.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.001387/0.6484, allocations: 0.7664 MB / 0.582 GB, free: 11.28 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005677/0.649, allocations: 210.2 kB / 0.5822 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000278/0.6493, allocations: 132.9 kB / 0.5823 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002014/0.6495, allocations: 49.52 kB / 0.5824 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/0.6495, allocations: 35.89 kB / 0.5824 GB, free: 11.17 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.783e-06/0.6495, allocations: 0 / 0.5824 GB, free: 11.17 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002339/0.6518, allocations: 0.698 MB / 0.5831 GB, free: 11.03 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.6519, allocations: 79.52 kB / 0.5832 GB, free: 10.94 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.652, allocations: 137.4 kB / 0.5833 GB, free: 10.83 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.015e-05/0.6521, allocations: 35.52 kB / 0.5833 GB, free: 10.8 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.68e-05/0.6521, allocations: 112.7 kB / 0.5834 GB, free: 10.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.6522, allocations: 130.7 kB / 0.5836 GB, free: 10.6 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.6523, allocations: 74.66 kB / 0.5836 GB, free: 10.57 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.6525, allocations: 332.8 kB / 0.584 GB, free: 10.24 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003413/0.6528, allocations: 130 kB / 0.5841 GB, free: 10.22 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003863/0.6532, allocations: 213.4 kB / 0.5843 GB, free: 10.11 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007342/0.6539, allocations: 355 kB / 0.5846 GB, free: 9.992 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6539, allocations: 0 / 0.5846 GB, free: 9.992 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008726/0.6548, allocations: 416.2 kB / 0.585 GB, free: 9.879 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.6548, allocations: 10.81 kB / 0.585 GB, free: 9.879 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.6548, allocations: 4.219 kB / 0.585 GB, free: 9.875 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.6549, allocations: 6.109 kB / 0.585 GB, free: 9.875 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004902/0.6554, allocations: 87.31 kB / 0.5851 GB, free: 9.855 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.6554, allocations: 5.656 kB / 0.5851 GB, free: 9.855 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003123/0.6557, allocations: 28.58 kB / 0.5852 GB, free: 9.844 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.53e-05/0.6557, allocations: 20.19 kB / 0.5852 GB, free: 9.84 MB / 462.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.0001744/0.6559, allocations: 153 kB / 0.5853 GB, free: 9.703 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-05/0.656, allocations: 18.09 kB / 0.5853 GB, free: 9.695 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003415/0.6563, allocations: 172 kB / 0.5855 GB, free: 9.633 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.6563, allocations: 8.812 kB / 0.5855 GB, free: 9.629 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.6563, allocations: 0 / 0.5855 GB, free: 9.629 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.6563, allocations: 0.75 kB / 0.5855 GB, free: 9.629 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.658, allocations: 0.7535 MB / 0.5862 GB, free: 9.164 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.658, allocations: 0 / 0.5862 GB, free: 9.164 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004419/0.6584, allocations: 81.59 kB / 0.5863 GB, free: 9.145 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.6584, allocations: 2.906 kB / 0.5863 GB, free: 9.145 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/0.6585, allocations: 20.58 kB / 0.5863 GB, free: 9.133 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.6585, allocations: 4.031 kB / 0.5864 GB, free: 9.133 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.6585, allocations: 6.688 kB / 0.5864 GB, free: 9.129 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.6598, allocations: 0.7126 MB / 0.5871 GB, free: 8.781 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.6599, allocations: 53.38 kB / 0.5871 GB, free: 8.754 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.728e-05/0.66, allocations: 12.58 kB / 0.5871 GB, free: 8.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003691/0.6603, allocations: 20.67 kB / 0.5871 GB, free: 8.746 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.6604, allocations: 23.73 kB / 0.5872 GB, free: 8.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/0.6604, allocations: 13.5 kB / 0.5872 GB, free: 8.73 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.342e-05/0.6605, allocations: 117.6 kB / 0.5873 GB, free: 8.645 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6605, allocations: 0 / 0.5873 GB, free: 8.645 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006304/0.6611, allocations: 158.7 kB / 0.5874 GB, free: 8.621 MB / 462.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.0004378/0.6616, allocations: 236.3 kB / 0.5877 GB, free: 8.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008237/0.6624, allocations: 331 kB / 0.588 GB, free: 8.41 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6624, allocations: 448 / 0.588 GB, free: 8.41 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003799/0.6628, allocations: 170.5 kB / 0.5881 GB, free: 8.371 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007043/0.6635, allocations: 108.6 kB / 0.5882 GB, free: 8.324 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.6649, allocations: 0.6663 MB / 0.5889 GB, free: 7.883 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.6652, allocations: 0.7438 MB / 0.5896 GB, free: 7.16 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.6654, allocations: 34.55 kB / 0.5897 GB, free: 7.152 MB / 462.1 MB Notification: Performance of SimCode: time 4.81e-07/0.6654, allocations: 0 / 0.5897 GB, free: 7.152 MB / 462.1 MB Notification: Performance of Templates: time 0.00722/0.6726, allocations: 4.8 MB / 0.5943 GB, free: 4.66 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.1.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.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: 7.833358723903075]