Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.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.001433/0.001433, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001695/0.001695, allocations: 207.5 kB / 24.53 MB, free: 4.07 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.393/1.393, allocations: 230.5 MB / 258.2 MB, free: 8.035 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.2126/0.2126, allocations: 46.92 MB / 361.6 MB, free: 4.176 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.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0024/0.0024, allocations: 80.11 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2851, allocations: 66.08 MB / 0.5615 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.1752/0.4604, allocations: 153.8 MB / 0.7117 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008048/0.4684, allocations: 6.864 MB / 0.7184 GB, free: 3.164 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.4686, allocations: 4 kB / 0.7184 GB, free: 3.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004061/0.469, allocations: 83.55 kB / 0.7185 GB, free: 3.078 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006/0.475, allocations: 2.273 MB / 0.7207 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003521/0.4753, allocations: 156.7 kB / 0.7208 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007202/0.476, allocations: 0.5178 MB / 0.7213 GB, free: 136 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.299e-05/0.4761, allocations: 16.58 kB / 0.7214 GB, free: 116 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004851/0.4766, allocations: 270.9 kB / 0.7216 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008773/0.4775, allocations: 486.6 kB / 0.7221 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.909e-05/0.4775, allocations: 12 kB / 0.7221 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005456/0.483, allocations: 2.802 MB / 0.7248 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001688/0.4831, allocations: 163.5 kB / 0.725 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002336/0.4834, allocations: 207.1 kB / 0.7252 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003124/0.4865, allocations: 1.87 MB / 0.727 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.4865, allocations: 4 kB / 0.727 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4865, allocations: 4 kB / 0.727 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.4865, allocations: 0 / 0.727 GB, free: 10.3 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.002759/0.4893, allocations: 0.9136 MB / 0.7279 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.4893, allocations: 12.03 kB / 0.7279 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.535e-05/0.4893, allocations: 9.188 kB / 0.7279 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001139/0.4895, allocations: 90.7 kB / 0.728 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003718/0.4932, allocations: 0.4962 MB / 0.7285 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000759/0.4939, allocations: 329.2 kB / 0.7288 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002195/0.4942, allocations: 234.3 kB / 0.729 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.4943, allocations: 28 kB / 0.7291 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.4959, allocations: 1.101 MB / 0.7301 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.4959, allocations: 0 / 0.7301 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.496, allocations: 27.98 kB / 0.7302 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.967e-05/0.4961, allocations: 48.97 kB / 0.7302 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003339/0.4994, allocations: 2.272 MB / 0.7324 GB, free: 4.605 MB / 0.5606 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.003584/0.503, allocations: 2.29 MB / 0.7347 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.5033, allocations: 98.55 kB / 0.7348 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.959e-05/0.5034, allocations: 45.05 kB / 0.7348 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003356/0.5067, allocations: 1.393 MB / 0.7362 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.5067, allocations: 38.56 kB / 0.7362 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.5067, allocations: 0 / 0.7362 GB, free: 0.5938 MB / 0.5606 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=16): time 0.001027/0.5078, allocations: 307.7 kB / 0.7365 GB, free: 296 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.5078, allocations: 55.34 kB / 0.7366 GB, free: 228 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2092/0.717, allocations: 379.4 kB / 0.7369 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.143e-05/0.717, allocations: 27.39 kB / 0.7369 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.7172, allocations: 376.7 kB / 0.7373 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.88e-05/0.7173, allocations: 68.36 kB / 0.7374 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002319/0.7175, allocations: 167 kB / 0.7375 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.546e-05/0.7176, allocations: 342.8 kB / 0.7379 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.7178, allocations: 121.7 kB / 0.738 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00042/0.7183, allocations: 0.5694 MB / 0.7385 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006316/0.7189, allocations: 0.745 MB / 0.7393 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.339e-05/0.7189, allocations: 4.562 kB / 0.7393 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001453/0.7204, allocations: 0.7505 MB / 0.74 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.7204, allocations: 11.84 kB / 0.74 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.7204, allocations: 15.81 kB / 0.74 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.88e-05/0.7204, allocations: 19.5 kB / 0.74 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004572/0.7209, allocations: 189.3 kB / 0.7402 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002235/0.7211, allocations: 0.617 MB / 0.7408 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000416/0.7215, allocations: 95.56 kB / 0.7409 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.366e-05/0.7216, allocations: 55.62 kB / 0.741 GB, free: 172.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001635/0.7217, allocations: 207.4 kB / 0.7412 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003113/0.7221, allocations: 97.28 kB / 0.7413 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002941/0.7223, allocations: 191.6 kB / 0.7414 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.7223, allocations: 3.812 kB / 0.7414 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.7224, allocations: 0 / 0.7414 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.7224, allocations: 1.5 kB / 0.7414 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005216/0.7229, allocations: 0.5204 MB / 0.7419 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.7229, allocations: 0 / 0.7419 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.723, allocations: 33.56 kB / 0.742 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.723, allocations: 3.969 kB / 0.742 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.723, allocations: 7.969 kB / 0.742 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001541/0.7232, allocations: 0.5911 MB / 0.7426 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7232, allocations: 0 / 0.7426 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.7233, allocations: 268.4 kB / 0.7428 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.896e-05/0.7234, allocations: 35.95 kB / 0.7429 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.382e-05/0.7235, allocations: 5.609 kB / 0.7429 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.7237, allocations: 12.06 kB / 0.7429 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.129e-05/0.7237, allocations: 12.03 kB / 0.7429 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.7237, allocations: 9.969 kB / 0.7429 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001865/0.7239, allocations: 243.7 kB / 0.7431 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.7239, allocations: 2.969 kB / 0.7431 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000965/0.7249, allocations: 352.9 kB / 0.7435 GB, free: 171.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001458/0.7263, allocations: 1.328 MB / 0.7448 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004755/0.7268, allocations: 323.8 kB / 0.7451 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.7268, allocations: 2.312 kB / 0.7451 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.56e-05/0.7269, allocations: 49.94 kB / 0.7451 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000466/0.7274, allocations: 61.58 kB / 0.7452 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009511/0.7369, allocations: 10.22 MB / 0.7552 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.7371, allocations: 0.784 MB / 0.7559 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004345/0.7375, allocations: 243.9 kB / 0.7562 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.7376, allocations: 115.4 kB / 0.7563 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.7376, allocations: 0 / 0.7563 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03086/0.7685, allocations: 13.54 MB / 0.7695 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/13.65, allocations: 0 / 0.7695 GB, free: 145.7 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/FlueGasSixComponents/FlueGasSixComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.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: 16.797765780007467]