Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001318/0.001318, allocations: 109.1 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001482/0.001482, allocations: 207.5 kB / 24.53 MB, free: 4.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 230.5 MB / 258.2 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2207/0.2207, allocations: 46.93 MB / 361.6 MB, free: 4.168 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 83.88 kB / 0.497 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.313, allocations: 66.08 MB / 0.5615 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1815/0.4945, allocations: 153.1 MB / 0.711 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00269/0.4972, allocations: 2.208 MB / 0.7131 GB, free: 8.402 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.535e-05/0.4972, allocations: 4 kB / 0.7131 GB, free: 8.398 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003404/0.4976, allocations: 55.66 kB / 0.7132 GB, free: 8.344 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001469/0.4991, allocations: 0.6415 MB / 0.7138 GB, free: 7.703 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.4993, allocations: 107.7 kB / 0.7139 GB, free: 7.598 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003308/0.4997, allocations: 267 kB / 0.7142 GB, free: 7.336 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.672e-05/0.4997, allocations: 4 kB / 0.7142 GB, free: 7.332 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002729/0.5, allocations: 143.4 kB / 0.7143 GB, free: 7.191 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.5002, allocations: 91.7 kB / 0.7144 GB, free: 7.102 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.5002, allocations: 11.94 kB / 0.7144 GB, free: 7.09 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.5017, allocations: 0.9041 MB / 0.7153 GB, free: 6.184 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.5018, allocations: 83.81 kB / 0.7154 GB, free: 6.102 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.5019, allocations: 103.5 kB / 0.7155 GB, free: 6 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.503, allocations: 0.6527 MB / 0.7161 GB, free: 5.348 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.503, allocations: 0 / 0.7161 GB, free: 5.348 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.513e-06/0.503, allocations: 0 / 0.7161 GB, free: 5.348 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.503, allocations: 3.938 kB / 0.7161 GB, free: 5.344 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.0009166/0.5039, allocations: 445.5 kB / 0.7165 GB, free: 4.879 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.5039, allocations: 12.03 kB / 0.7165 GB, free: 4.867 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.315e-05/0.504, allocations: 8.453 kB / 0.7166 GB, free: 4.859 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.606e-05/0.504, allocations: 46.73 kB / 0.7166 GB, free: 4.805 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002023/0.5061, allocations: 272.5 kB / 0.7169 GB, free: 4.539 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004562/0.5065, allocations: 233.6 kB / 0.7171 GB, free: 4.285 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.5065, allocations: 12.33 kB / 0.7171 GB, free: 4.273 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.871e-05/0.5066, allocations: 12 kB / 0.7171 GB, free: 4.262 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008304/0.5074, allocations: 0.5006 MB / 0.7176 GB, free: 3.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.5074, allocations: 0 / 0.7176 GB, free: 3.75 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.367e-05/0.5075, allocations: 4 kB / 0.7176 GB, free: 3.746 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.5075, allocations: 11.94 kB / 0.7176 GB, free: 3.734 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009036/0.5084, allocations: 0.5817 MB / 0.7182 GB, free: 3.152 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.002382/0.5108, allocations: 0.9833 MB / 0.7191 GB, free: 2.121 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004126/0.5112, allocations: 241 kB / 0.7194 GB, free: 1.867 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002525/0.5115, allocations: 177.6 kB / 0.7195 GB, free: 1.688 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008226/0.5123, allocations: 159.8 kB / 0.7197 GB, free: 1.531 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.5123, allocations: 34.56 kB / 0.7197 GB, free: 1.488 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 4.177e-06/0.5123, allocations: 4 kB / 0.7197 GB, free: 1.484 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.001976/0.5143, allocations: 0.5982 MB / 0.7203 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.5144, allocations: 85.11 kB / 0.7204 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.5145, allocations: 125.8 kB / 0.7205 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.816e-05/0.5145, allocations: 33.7 kB / 0.7205 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.43e-05/0.5146, allocations: 116.5 kB / 0.7207 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.5147, allocations: 115 kB / 0.7208 GB, free: 388 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.5149, allocations: 73.47 kB / 0.7208 GB, free: 308 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.515, allocations: 330.8 kB / 0.7211 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003406/0.5154, allocations: 183.9 kB / 0.7213 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004536/0.5158, allocations: 292.5 kB / 0.7216 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007894/0.5166, allocations: 486.8 kB / 0.7221 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.5166, allocations: 0 / 0.7221 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001067/0.5177, allocations: 0.5208 MB / 0.7226 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.5177, allocations: 8 kB / 0.7226 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.5177, allocations: 4 kB / 0.7226 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.5177, allocations: 4 kB / 0.7226 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005262/0.5183, allocations: 79.88 kB / 0.7227 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.5183, allocations: 7.938 kB / 0.7227 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003853/0.5187, allocations: 35.77 kB / 0.7227 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.483e-05/0.5187, allocations: 20 kB / 0.7227 GB, free: 14.25 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.0002016/0.5189, allocations: 155.1 kB / 0.7229 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.519, allocations: 19.84 kB / 0.7229 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009926/0.52, allocations: 497.3 kB / 0.7234 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.52, allocations: 0 / 0.7234 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.52, allocations: 4 kB / 0.7234 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.52, allocations: 4 kB / 0.7234 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007725/0.5208, allocations: 440.8 kB / 0.7238 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.5208, allocations: 0 / 0.7238 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004844/0.5213, allocations: 55.89 kB / 0.7238 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.5213, allocations: 4 kB / 0.7239 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.769e-05/0.5213, allocations: 16 kB / 0.7239 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.5213, allocations: 0 / 0.7239 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.5213, allocations: 4 kB / 0.7239 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.5225, allocations: 0.6839 MB / 0.7245 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-05/0.5225, allocations: 23.83 kB / 0.7246 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.462e-05/0.5226, allocations: 8 kB / 0.7246 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005109/0.5231, allocations: 27.97 kB / 0.7246 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.5231, allocations: 15.97 kB / 0.7246 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.77e-05/0.5232, allocations: 15.98 kB / 0.7246 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.19e-05/0.5232, allocations: 103.2 kB / 0.7247 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.5232, allocations: 0 / 0.7247 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006496/0.5239, allocations: 167.6 kB / 0.7249 GB, free: 11.97 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.002274/0.5262, allocations: 1.459 MB / 0.7263 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000878/0.527, allocations: 424.3 kB / 0.7267 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.527, allocations: 4.062 kB / 0.7267 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003625/0.5274, allocations: 211.8 kB / 0.7269 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007434/0.5282, allocations: 98.36 kB / 0.727 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004611/0.5328, allocations: 3.237 MB / 0.7302 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.5331, allocations: 0.7361 MB / 0.7309 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004685/0.5336, allocations: 113.8 kB / 0.731 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.5338, allocations: 55.41 kB / 0.7311 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of SimCode: time 8.72e-07/0.5338, allocations: 0 / 0.7311 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2542/0.788, allocations: 10.77 MB / 0.7416 GB, free: 174 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.58, allocations: 6.094 kB / 0.7416 GB, free: 174 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.596149491961114]