Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.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.00132/0.00132, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001523/0.001523, allocations: 210.5 kB / 23.74 MB, free: 4.672 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.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2272/0.2272, allocations: 46.93 MB / 360.9 MB, free: 4.281 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 71.88 kB / 0.4962 GB, free: 7.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3764, allocations: 66.03 MB / 0.5606 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1829/0.5593, allocations: 153.1 MB / 0.7101 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003099/0.5624, allocations: 2.2 MB / 0.7123 GB, free: 8.613 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.5625, allocations: 3.938 kB / 0.7123 GB, free: 8.609 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004771/0.563, allocations: 59.64 kB / 0.7123 GB, free: 8.551 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001817/0.5648, allocations: 0.6414 MB / 0.7129 GB, free: 7.91 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000353/0.5651, allocations: 119.1 kB / 0.7131 GB, free: 7.797 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004204/0.5656, allocations: 263 kB / 0.7133 GB, free: 7.539 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.283e-05/0.5656, allocations: 4 kB / 0.7133 GB, free: 7.535 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003479/0.566, allocations: 147.4 kB / 0.7135 GB, free: 7.391 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.5662, allocations: 103.6 kB / 0.7136 GB, free: 7.289 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.5662, allocations: 8 kB / 0.7136 GB, free: 7.281 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001876/0.5681, allocations: 0.8924 MB / 0.7144 GB, free: 6.387 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.5682, allocations: 83.78 kB / 0.7145 GB, free: 6.305 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.5684, allocations: 103.6 kB / 0.7146 GB, free: 6.203 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001411/0.5698, allocations: 0.6565 MB / 0.7153 GB, free: 5.547 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5698, allocations: 0 / 0.7153 GB, free: 5.547 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5698, allocations: 3.938 kB / 0.7153 GB, free: 5.543 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.819e-06/0.5698, allocations: 0 / 0.7153 GB, free: 5.543 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0009565/0.5708, allocations: 451.8 kB / 0.7157 GB, free: 5.074 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.5708, allocations: 8.031 kB / 0.7157 GB, free: 5.066 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.351e-05/0.5709, allocations: 54.73 kB / 0.7157 GB, free: 5.004 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00204/0.5729, allocations: 276.5 kB / 0.716 GB, free: 4.734 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004925/0.5734, allocations: 229.8 kB / 0.7162 GB, free: 4.484 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.5734, allocations: 12.33 kB / 0.7162 GB, free: 4.473 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.62e-05/0.5735, allocations: 16 kB / 0.7163 GB, free: 4.457 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000796/0.5743, allocations: 496.7 kB / 0.7167 GB, free: 3.961 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.5743, allocations: 0 / 0.7167 GB, free: 3.961 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.26e-05/0.5744, allocations: 8 kB / 0.7167 GB, free: 3.953 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.644e-05/0.5744, allocations: 19.92 kB / 0.7168 GB, free: 3.934 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009035/0.5753, allocations: 0.5816 MB / 0.7173 GB, free: 3.352 MB / 0.545 GB 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.002378/0.5777, allocations: 0.9755 MB / 0.7183 GB, free: 2.328 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003925/0.5781, allocations: 241.1 kB / 0.7185 GB, free: 2.074 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/0.5783, allocations: 177.6 kB / 0.7187 GB, free: 1.895 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000858/0.5792, allocations: 160 kB / 0.7188 GB, free: 1.738 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.5792, allocations: 38.56 kB / 0.7189 GB, free: 1.691 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 1.412e-06/0.5792, allocations: 0 / 0.7189 GB, free: 1.691 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.001874/0.5811, allocations: 0.5993 MB / 0.7195 GB, free: 1.086 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.5812, allocations: 85.11 kB / 0.7195 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.5813, allocations: 125.8 kB / 0.7197 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.557e-05/0.5813, allocations: 29.7 kB / 0.7197 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.164e-05/0.5814, allocations: 116.5 kB / 0.7198 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.5815, allocations: 122.9 kB / 0.7199 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.5817, allocations: 65.47 kB / 0.72 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.5818, allocations: 330.8 kB / 0.7203 GB, free: 180 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/0.5822, allocations: 187.9 kB / 0.7205 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004068/0.5826, allocations: 284.5 kB / 0.7207 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008096/0.5834, allocations: 499.4 kB / 0.7212 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.5834, allocations: 4 kB / 0.7212 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009339/0.5843, allocations: 0.5166 MB / 0.7217 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.5843, allocations: 4 kB / 0.7217 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.5843, allocations: 4 kB / 0.7217 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.5844, allocations: 4.406 kB / 0.7217 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005059/0.5849, allocations: 87.83 kB / 0.7218 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.5849, allocations: 8 kB / 0.7218 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003664/0.5852, allocations: 39.77 kB / 0.7219 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.793e-05/0.5853, allocations: 15.98 kB / 0.7219 GB, free: 14.45 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (41): * Single equations (assignments): 41 * 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.0001678/0.5855, allocations: 153.6 kB / 0.722 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.5856, allocations: 15.91 kB / 0.722 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009472/0.5865, allocations: 492.2 kB / 0.7225 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.5865, allocations: 4 kB / 0.7225 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5865, allocations: 4 kB / 0.7225 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.5865, allocations: 3.984 kB / 0.7225 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000737/0.5873, allocations: 436.8 kB / 0.7229 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5873, allocations: 0 / 0.7229 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004831/0.5877, allocations: 59.95 kB / 0.723 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.5878, allocations: 0 / 0.723 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.634e-05/0.5878, allocations: 15.92 kB / 0.723 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.5878, allocations: 4 kB / 0.723 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5878, allocations: 0 / 0.723 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.5889, allocations: 0.684 MB / 0.7237 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.671e-05/0.5889, allocations: 19.84 kB / 0.7237 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.377e-05/0.589, allocations: 11.98 kB / 0.7237 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004528/0.5894, allocations: 19.97 kB / 0.7237 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.5895, allocations: 15.97 kB / 0.7237 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.5895, allocations: 23.98 kB / 0.7238 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.949e-05/0.5896, allocations: 99.25 kB / 0.7239 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5896, allocations: 0 / 0.7239 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006412/0.5902, allocations: 179.4 kB / 0.724 GB, free: 12.17 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4],state.p,state.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 (28): * Single equations (assignments): 28 * 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.002092/0.5923, allocations: 1.462 MB / 0.7255 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008189/0.5931, allocations: 420.5 kB / 0.7259 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5931, allocations: 4 kB / 0.7259 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003489/0.5935, allocations: 206.4 kB / 0.7261 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006833/0.5942, allocations: 103.1 kB / 0.7262 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004468/0.5986, allocations: 3.226 MB / 0.7293 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.599, allocations: 0.7517 MB / 0.73 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004534/0.5995, allocations: 105.8 kB / 0.7301 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.5997, allocations: 55.42 kB / 0.7302 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/0.5997, allocations: 4 kB / 0.7302 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2984/0.898, allocations: 10.72 MB / 0.7407 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.82, allocations: 9.281 kB / 0.7407 GB, free: 174.4 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.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: 14.830141457961872]