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.001327/0.001327, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001441/0.001441, allocations: 207.5 kB / 23.72 MB, free: 4.391 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.436/1.436, allocations: 230.5 MB / 257.4 MB, free: 7.746 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.2525/0.2525, allocations: 46.95 MB / 360.8 MB, free: 3.914 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002353/0.002353, allocations: 87.86 kB / 0.4962 GB, free: 7.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.353, allocations: 66.09 MB / 0.5607 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01401/0.3671, allocations: 10.15 MB / 0.5707 GB, free: 9.781 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01331/0.3804, allocations: 10.3 MB / 0.5807 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.3805, allocations: 0 / 0.5807 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003715/0.3809, allocations: 75.5 kB / 0.5808 GB, free: 15.37 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00977/0.3907, allocations: 3.091 MB / 0.5838 GB, free: 12.27 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004656/0.3911, allocations: 147.1 kB / 0.5839 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006267/0.3974, allocations: 3.971 MB / 0.5878 GB, free: 8.148 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.381e-05/0.3975, allocations: 12.58 kB / 0.5878 GB, free: 8.141 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002688/0.3978, allocations: 147.5 kB / 0.588 GB, free: 7.996 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01096/0.4087, allocations: 7.246 MB / 0.595 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.358e-05/0.4088, allocations: 8 kB / 0.5951 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005511/0.4143, allocations: 1.998 MB / 0.597 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.4144, allocations: 47.77 kB / 0.5971 GB, free: 14.69 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00022/0.4147, allocations: 115.5 kB / 0.5972 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004523/0.4192, allocations: 1.531 MB / 0.5987 GB, free: 13.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.4192, allocations: 4 kB / 0.5987 GB, free: 13.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.4192, allocations: 0 / 0.5987 GB, free: 13.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.4192, allocations: 0 / 0.5987 GB, free: 13.04 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.002569/0.4218, allocations: 0.8583 MB / 0.5995 GB, free: 12.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.4218, allocations: 16.02 kB / 0.5995 GB, free: 12.13 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.931e-05/0.4219, allocations: 62.73 kB / 0.5996 GB, free: 12.06 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006521/0.4226, allocations: 76.73 kB / 0.5996 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005195/0.4231, allocations: 194.1 kB / 0.5998 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/0.4231, allocations: 21.03 kB / 0.5999 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.105e-05/0.4232, allocations: 24.38 kB / 0.5999 GB, free: 11.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.4243, allocations: 0.5331 MB / 0.6004 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.4244, allocations: 4 kB / 0.6004 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/0.4244, allocations: 16 kB / 0.6004 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.4244, allocations: 4 kB / 0.6004 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.4256, allocations: 0.6771 MB / 0.6011 GB, free: 10.44 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.007113/0.4327, allocations: 2.591 MB / 0.6036 GB, free: 7.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000771/0.4335, allocations: 215.2 kB / 0.6038 GB, free: 7.551 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.4337, allocations: 77.27 kB / 0.6039 GB, free: 7.473 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07948/0.5131, allocations: 21.3 MB / 0.6247 GB, free: 2.125 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008692/0.514, allocations: 356.5 kB / 0.625 GB, free: 1.715 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 3.366e-06/0.514, allocations: 0 / 0.625 GB, free: 1.715 MB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.003398/0.5174, allocations: 0.9955 MB / 0.626 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002852/0.5177, allocations: 482.5 kB / 0.6265 GB, free: 132 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.5179, allocations: 162.2 kB / 0.6266 GB, free: 15.96 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.659e-05/0.5179, allocations: 29.7 kB / 0.6266 GB, free: 15.93 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.518, allocations: 172.3 kB / 0.6268 GB, free: 15.75 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.5182, allocations: 138.8 kB / 0.6269 GB, free: 15.62 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.5183, allocations: 94.17 kB / 0.627 GB, free: 15.52 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.5185, allocations: 330.8 kB / 0.6273 GB, free: 15.19 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.5186, allocations: 68.95 kB / 0.6274 GB, free: 15.12 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003666/0.519, allocations: 322.3 kB / 0.6277 GB, free: 14.69 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000657/0.5196, allocations: 448 kB / 0.6281 GB, free: 14.14 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.5196, allocations: 8 kB / 0.6282 GB, free: 14.13 MB / 478.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008737/0.5205, allocations: 438.7 kB / 0.6286 GB, free: 13.69 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.5205, allocations: 8 kB / 0.6286 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.5206, allocations: 8 kB / 0.6286 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002106/0.5227, allocations: 334 kB / 0.6289 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003296/0.523, allocations: 103.8 kB / 0.629 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009111/0.5239, allocations: 1.223 MB / 0.6302 GB, free: 11.97 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/0.5241, allocations: 20.12 kB / 0.6302 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.208e-05/0.5242, allocations: 39.92 kB / 0.6303 GB, free: 11.91 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.0001892/0.5244, allocations: 149.7 kB / 0.6304 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.5245, allocations: 35.84 kB / 0.6304 GB, free: 11.72 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001601/0.5261, allocations: 1.118 MB / 0.6315 GB, free: 10.56 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.5261, allocations: 11.94 kB / 0.6315 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.5261, allocations: 4 kB / 0.6315 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.5261, allocations: 7.984 kB / 0.6315 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.5279, allocations: 1.246 MB / 0.6328 GB, free: 9.227 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.5279, allocations: 4 kB / 0.6328 GB, free: 9.223 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.528, allocations: 47.91 kB / 0.6328 GB, free: 9.176 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001278/0.5293, allocations: 237.5 kB / 0.633 GB, free: 8.938 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.5293, allocations: 8 kB / 0.633 GB, free: 8.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000853/0.5302, allocations: 1.273 MB / 0.6343 GB, free: 7.609 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.5302, allocations: 4.031 kB / 0.6343 GB, free: 7.605 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008394/0.531, allocations: 0.6261 MB / 0.6349 GB, free: 6.93 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/0.5311, allocations: 27.73 kB / 0.6349 GB, free: 6.902 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.591e-05/0.5312, allocations: 51.8 kB / 0.635 GB, free: 6.852 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.5314, allocations: 12 kB / 0.635 GB, free: 6.84 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/0.5315, allocations: 31.89 kB / 0.635 GB, free: 6.809 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.5315, allocations: 8 kB / 0.635 GB, free: 6.801 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003361/0.5318, allocations: 275.1 kB / 0.6353 GB, free: 6.531 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5318, allocations: 0 / 0.6353 GB, free: 6.531 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001349/0.5332, allocations: 450.6 kB / 0.6357 GB, free: 6.09 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.002628/0.5358, allocations: 1.712 MB / 0.6374 GB, free: 4.309 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007002/0.5365, allocations: 367.6 kB / 0.6377 GB, free: 3.945 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.5365, allocations: 4 kB / 0.6378 GB, free: 3.941 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000306/0.5368, allocations: 206.9 kB / 0.638 GB, free: 3.734 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008108/0.5376, allocations: 128.9 kB / 0.6381 GB, free: 3.609 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.202/1.74, allocations: 0.495 GB / 1.133 GB, free: 73.09 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/1.74, allocations: 216.3 kB / 1.133 GB, free: 72.85 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003684/1.74, allocations: 164.8 kB / 1.133 GB, free: 72.71 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/1.741, allocations: 163.4 kB / 1.134 GB, free: 72.55 MB / 0.6231 GB Notification: Performance of SimCode: time 1.483e-06/1.741, allocations: 0 / 1.134 GB, free: 72.55 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04961/1.79, allocations: 21.05 MB / 1.154 GB, free: 51.75 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/14.86, allocations: 3 kB / 1.154 GB, free: 51.75 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: 19.831839908845723]