Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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.001294/0.001294, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001415/0.001415, allocations: 213.5 kB / 24.52 MB, free: 3.91 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.415/1.415, allocations: 230.5 MB / 258.2 MB, free: 7.793 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.2199/0.2199, allocations: 46.94 MB / 361.6 MB, free: 3.93 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.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0024/0.0024, allocations: 79.81 kB / 0.497 GB, free: 7.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3248, allocations: 66.08 MB / 0.5615 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01329/0.3381, allocations: 10.15 MB / 0.5714 GB, free: 9.812 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0128/0.3509, allocations: 10.28 MB / 0.5814 GB, free: 15.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.3511, allocations: 4 kB / 0.5814 GB, free: 15.49 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003171/0.3514, allocations: 71.52 kB / 0.5815 GB, free: 15.42 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009069/0.3605, allocations: 3.095 MB / 0.5845 GB, free: 12.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004203/0.3609, allocations: 154.8 kB / 0.5847 GB, free: 12.17 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005927/0.3668, allocations: 3.963 MB / 0.5886 GB, free: 8.199 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.199e-05/0.3669, allocations: 16.58 kB / 0.5886 GB, free: 8.188 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.3671, allocations: 143.5 kB / 0.5887 GB, free: 8.047 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009848/0.3769, allocations: 7.254 MB / 0.5958 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.346e-05/0.377, allocations: 8 kB / 0.5958 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004418/0.3814, allocations: 2.096 MB / 0.5978 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.3815, allocations: 43.77 kB / 0.5979 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.3817, allocations: 115.5 kB / 0.598 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003636/0.3853, allocations: 1.531 MB / 0.5995 GB, free: 12.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.3853, allocations: 0 / 0.5995 GB, free: 12.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3853, allocations: 0 / 0.5995 GB, free: 12.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.3853, allocations: 0 / 0.5995 GB, free: 12.99 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003078/0.3884, allocations: 0.8661 MB / 0.6003 GB, free: 12.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.211e-05/0.3885, allocations: 12.03 kB / 0.6003 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.632e-05/0.3885, allocations: 8.844 kB / 0.6004 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.324e-05/0.3886, allocations: 62.72 kB / 0.6004 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006649/0.3892, allocations: 76.73 kB / 0.6005 GB, free: 11.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/0.3897, allocations: 186.2 kB / 0.6007 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.196e-05/0.3897, allocations: 25.03 kB / 0.6007 GB, free: 11.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.218e-05/0.3897, allocations: 32.11 kB / 0.6007 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.3909, allocations: 0.5331 MB / 0.6012 GB, free: 11.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3909, allocations: 3.938 kB / 0.6012 GB, free: 11.08 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.619e-05/0.3909, allocations: 16 kB / 0.6013 GB, free: 11.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.3909, allocations: 11.94 kB / 0.6013 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.3921, allocations: 0.6888 MB / 0.6019 GB, free: 10.36 MB / 446.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.006658/0.3988, allocations: 2.591 MB / 0.6045 GB, free: 7.688 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006864/0.3995, allocations: 213.5 kB / 0.6047 GB, free: 7.473 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.3996, allocations: 73.38 kB / 0.6047 GB, free: 7.398 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07981/0.4794, allocations: 21.3 MB / 0.6255 GB, free: 2.047 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000873/0.4803, allocations: 354.5 kB / 0.6259 GB, free: 1.637 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.845e-06/0.4803, allocations: 0 / 0.6259 GB, free: 1.637 MB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.003359/0.4836, allocations: 0.9802 MB / 0.6268 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002809/0.4839, allocations: 490.5 kB / 0.6273 GB, free: 56 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.4841, allocations: 154.3 kB / 0.6275 GB, free: 15.89 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.407e-05/0.4841, allocations: 29.7 kB / 0.6275 GB, free: 15.86 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.4843, allocations: 172.8 kB / 0.6277 GB, free: 15.69 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.4844, allocations: 142.8 kB / 0.6278 GB, free: 15.55 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.4845, allocations: 98.12 kB / 0.6279 GB, free: 15.45 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.4847, allocations: 330.8 kB / 0.6282 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.4848, allocations: 72.95 kB / 0.6283 GB, free: 15.04 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/0.4851, allocations: 318.1 kB / 0.6286 GB, free: 14.62 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005805/0.4857, allocations: 456 kB / 0.629 GB, free: 14.05 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.4857, allocations: 4 kB / 0.629 GB, free: 14.05 MB / 478.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008247/0.4866, allocations: 443.3 kB / 0.6294 GB, free: 13.61 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.4866, allocations: 8 kB / 0.6294 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.4866, allocations: 12.25 kB / 0.6295 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002162/0.4888, allocations: 321.2 kB / 0.6298 GB, free: 13.27 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003055/0.4891, allocations: 99.83 kB / 0.6299 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008498/0.4899, allocations: 1.223 MB / 0.631 GB, free: 11.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.4902, allocations: 27.89 kB / 0.6311 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.193e-05/0.4902, allocations: 28 kB / 0.6311 GB, free: 11.84 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001998/0.4904, allocations: 161.6 kB / 0.6313 GB, free: 11.68 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.739e-05/0.4905, allocations: 27.84 kB / 0.6313 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001506/0.492, allocations: 1.081 MB / 0.6323 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.238e-05/0.492, allocations: 15.92 kB / 0.6324 GB, free: 10.51 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.492, allocations: 4.219 kB / 0.6324 GB, free: 10.51 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/0.4921, allocations: 4 kB / 0.6324 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001637/0.4937, allocations: 1.246 MB / 0.6336 GB, free: 9.191 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.4937, allocations: 0 / 0.6336 GB, free: 9.191 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.4939, allocations: 43.92 kB / 0.6336 GB, free: 9.148 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001349/0.4952, allocations: 241.5 kB / 0.6338 GB, free: 8.906 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.4952, allocations: 12 kB / 0.6339 GB, free: 8.895 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008424/0.4961, allocations: 1.27 MB / 0.6351 GB, free: 7.578 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.4961, allocations: 3.938 kB / 0.6351 GB, free: 7.574 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008002/0.4969, allocations: 0.6302 MB / 0.6357 GB, free: 6.895 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.4969, allocations: 35.67 kB / 0.6358 GB, free: 6.859 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.184e-05/0.497, allocations: 47.62 kB / 0.6358 GB, free: 6.812 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.4973, allocations: 11.98 kB / 0.6358 GB, free: 6.801 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.4973, allocations: 23.97 kB / 0.6358 GB, free: 6.777 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.4973, allocations: 11.98 kB / 0.6358 GB, free: 6.766 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000318/0.4977, allocations: 279.1 kB / 0.6361 GB, free: 6.488 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4977, allocations: 0 / 0.6361 GB, free: 6.488 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001376/0.499, allocations: 446.6 kB / 0.6365 GB, free: 6.051 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002921/0.502, allocations: 1.712 MB / 0.6382 GB, free: 4.27 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007625/0.5027, allocations: 368.2 kB / 0.6386 GB, free: 3.906 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.5027, allocations: 0 / 0.6386 GB, free: 3.906 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003089/0.503, allocations: 217.2 kB / 0.6388 GB, free: 3.691 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008535/0.5039, allocations: 129.9 kB / 0.6389 GB, free: 3.562 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.12/1.623, allocations: 0.495 GB / 1.134 GB, free: 73.14 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/1.624, allocations: 232.2 kB / 1.134 GB, free: 72.89 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003271/1.624, allocations: 160.5 kB / 1.134 GB, free: 72.76 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/1.624, allocations: 171.4 kB / 1.134 GB, free: 72.59 MB / 0.6231 GB Notification: Performance of SimCode: time 1.203e-06/1.624, allocations: 0 / 1.134 GB, free: 72.59 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0389/1.663, allocations: 20.82 MB / 1.155 GB, free: 52 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/15.2, allocations: 18.42 kB / 1.155 GB, free: 51.98 MB / 0.6231 GB " [Timeout remaining time 645] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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: 22.341224689036608]