Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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.001564/0.001564, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001969/0.001969, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.469/1.469, allocations: 230.6 MB / 258.3 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2251/0.2251, allocations: 44.92 MB / 359.6 MB, free: 6.316 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 65.47 kB / 0.4939 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3409, allocations: 65.48 MB / 0.5578 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01379/0.3546, allocations: 11.37 MB / 0.5689 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01345/0.3681, allocations: 11.86 MB / 0.5805 GB, free: 452 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.3683, allocations: 3.938 kB / 0.5805 GB, free: 448 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000308/0.3686, allocations: 71.5 kB / 0.5806 GB, free: 376 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01031/0.3789, allocations: 3.142 MB / 0.5837 GB, free: 13.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004601/0.3793, allocations: 155.4 kB / 0.5838 GB, free: 13.06 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006467/0.3858, allocations: 3.959 MB / 0.5877 GB, free: 9.098 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.252e-05/0.3859, allocations: 16.58 kB / 0.5877 GB, free: 9.086 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003344/0.3862, allocations: 143.5 kB / 0.5878 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01229/0.3985, allocations: 7.254 MB / 0.5949 GB, free: 1.684 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.754e-05/0.3986, allocations: 12 kB / 0.5949 GB, free: 1.672 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005645/0.4042, allocations: 2.146 MB / 0.597 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.4044, allocations: 47.75 kB / 0.5971 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002753/0.4046, allocations: 127.4 kB / 0.5972 GB, free: 15.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004615/0.4093, allocations: 1.543 MB / 0.5987 GB, free: 13.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.4093, allocations: 0 / 0.5987 GB, free: 13.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4093, allocations: 0 / 0.5987 GB, free: 13.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.4093, allocations: 0 / 0.5987 GB, free: 13.8 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.002543/0.4118, allocations: 0.87 MB / 0.5996 GB, free: 12.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.4119, allocations: 8.031 kB / 0.5996 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.178e-05/0.4119, allocations: 8.844 kB / 0.5996 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.587e-05/0.412, allocations: 62.72 kB / 0.5996 GB, free: 12.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006036/0.4126, allocations: 80.73 kB / 0.5997 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.413, allocations: 198.2 kB / 0.5999 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.413, allocations: 21.03 kB / 0.5999 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.117e-05/0.413, allocations: 32.12 kB / 0.5999 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.414, allocations: 494.5 kB / 0.6004 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.414, allocations: 3.938 kB / 0.6004 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/0.4141, allocations: 12 kB / 0.6004 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.4141, allocations: 11.98 kB / 0.6004 GB, free: 11.92 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.4153, allocations: 0.6927 MB / 0.6011 GB, free: 11.23 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.006385/0.4217, allocations: 2.769 MB / 0.6038 GB, free: 8.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006482/0.4223, allocations: 215.2 kB / 0.604 GB, free: 8.121 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.4225, allocations: 73.39 kB / 0.6041 GB, free: 8.047 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07616/0.4986, allocations: 21.22 MB / 0.6248 GB, free: 2.773 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008414/0.4995, allocations: 346.7 kB / 0.6252 GB, free: 2.371 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.795e-06/0.4995, allocations: 0 / 0.6252 GB, free: 2.371 MB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.003093/0.5026, allocations: 0.9973 MB / 0.6261 GB, free: 1.363 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002646/0.5028, allocations: 482.5 kB / 0.6266 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.503, allocations: 158 kB / 0.6267 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/0.503, allocations: 37.7 kB / 0.6268 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.5031, allocations: 168.3 kB / 0.6269 GB, free: 420 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.5032, allocations: 134.8 kB / 0.6271 GB, free: 284 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.5034, allocations: 102.1 kB / 0.6272 GB, free: 176 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.5035, allocations: 330.8 kB / 0.6275 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.5037, allocations: 72.95 kB / 0.6275 GB, free: 15.77 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003457/0.504, allocations: 313.5 kB / 0.6278 GB, free: 15.35 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005631/0.5046, allocations: 448.1 kB / 0.6283 GB, free: 14.79 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.5046, allocations: 8 kB / 0.6283 GB, free: 14.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007903/0.5054, allocations: 438.6 kB / 0.6287 GB, free: 14.34 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.5054, allocations: 12 kB / 0.6287 GB, free: 14.33 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.5054, allocations: 12.86 kB / 0.6287 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00208/0.5075, allocations: 325.3 kB / 0.629 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/0.5078, allocations: 103.8 kB / 0.6291 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007993/0.5086, allocations: 1.219 MB / 0.6303 GB, free: 12.63 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.5088, allocations: 31.88 kB / 0.6304 GB, free: 12.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.585e-05/0.5089, allocations: 28 kB / 0.6304 GB, free: 12.57 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.0001865/0.5091, allocations: 165.8 kB / 0.6305 GB, free: 12.4 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.157e-05/0.5091, allocations: 23.91 kB / 0.6306 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/0.5107, allocations: 1.08 MB / 0.6316 GB, free: 11.25 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.5107, allocations: 7.938 kB / 0.6316 GB, free: 11.25 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.5107, allocations: 4 kB / 0.6316 GB, free: 11.24 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.5107, allocations: 8.203 kB / 0.6316 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/0.5123, allocations: 1.259 MB / 0.6329 GB, free: 9.91 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.5123, allocations: 4 kB / 0.6329 GB, free: 9.906 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.5124, allocations: 43.92 kB / 0.6329 GB, free: 9.863 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001256/0.5137, allocations: 241.5 kB / 0.6331 GB, free: 9.621 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.5137, allocations: 8 kB / 0.6331 GB, free: 9.613 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008176/0.5146, allocations: 1.27 MB / 0.6344 GB, free: 8.297 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.5146, allocations: 7.938 kB / 0.6344 GB, free: 8.289 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007735/0.5153, allocations: 0.6263 MB / 0.635 GB, free: 7.609 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.053e-05/0.5154, allocations: 31.67 kB / 0.635 GB, free: 7.578 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.741e-05/0.5155, allocations: 47.62 kB / 0.6351 GB, free: 7.531 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/0.5157, allocations: 11.98 kB / 0.6351 GB, free: 7.52 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.5157, allocations: 23.97 kB / 0.6351 GB, free: 7.496 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.5158, allocations: 15.98 kB / 0.6351 GB, free: 7.48 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003099/0.5161, allocations: 275.1 kB / 0.6354 GB, free: 7.211 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5161, allocations: 0 / 0.6354 GB, free: 7.211 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00135/0.5174, allocations: 454.6 kB / 0.6358 GB, free: 6.766 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.002312/0.5197, allocations: 1.709 MB / 0.6375 GB, free: 4.992 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000685/0.5204, allocations: 367.1 kB / 0.6378 GB, free: 4.625 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5204, allocations: 1.562 kB / 0.6378 GB, free: 4.625 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002892/0.5207, allocations: 218 kB / 0.6381 GB, free: 4.406 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008086/0.5215, allocations: 121.9 kB / 0.6382 GB, free: 4.285 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.181/1.703, allocations: 0.495 GB / 1.133 GB, free: 72.8 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001911/1.703, allocations: 0.8235 MB / 1.134 GB, free: 71.95 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003381/1.704, allocations: 166.3 kB / 1.134 GB, free: 71.81 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/1.704, allocations: 172.1 kB / 1.134 GB, free: 71.65 MB / 0.6231 GB Notification: Performance of SimCode: time 1.593e-06/1.704, allocations: 0 / 1.134 GB, free: 71.65 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03921/1.743, allocations: 20.48 MB / 1.154 GB, free: 51.42 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/15.71, allocations: 11.28 kB / 1.154 GB, free: 51.41 MB / 0.6231 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 24.13963947299635]