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.001819/0.001819, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.002331/0.002331, allocations: 212.7 kB / 21.46 MB, free: 1.605 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.49/1.49, allocations: 230.4 MB / 254.7 MB, free: 15.18 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.2438/0.2438, allocations: 46.92 MB / 357.7 MB, free: 10.2 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.002113/0.002113, allocations: 79.88 kB / 0.4917 GB, free: 7.664 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1331, allocations: 66.04 MB / 0.5562 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01375/0.1469, allocations: 11.33 MB / 0.5673 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01357/0.1604, allocations: 11.81 MB / 0.5788 GB, free: 14.24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001889/0.1606, allocations: 4 kB / 0.5788 GB, free: 14.24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003337/0.161, allocations: 75.48 kB / 0.5789 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00915/0.1701, allocations: 3.115 MB / 0.5819 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004204/0.1705, allocations: 159.9 kB / 0.5821 GB, free: 10.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005982/0.1765, allocations: 3.908 MB / 0.5859 GB, free: 6.969 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.386e-05/0.1766, allocations: 16.38 kB / 0.5859 GB, free: 6.957 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.1768, allocations: 139.5 kB / 0.586 GB, free: 6.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2972/0.474, allocations: 7.161 MB / 0.593 GB, free: 16.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.091e-05/0.4741, allocations: 8.781 kB / 0.593 GB, free: 16.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00633/0.4804, allocations: 2.134 MB / 0.5951 GB, free: 16.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.4805, allocations: 42.88 kB / 0.5952 GB, free: 16.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002831/0.4808, allocations: 125.9 kB / 0.5953 GB, free: 16.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006198/0.487, allocations: 1.544 MB / 0.5968 GB, free: 16.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.487, allocations: 0.6094 kB / 0.5968 GB, free: 16.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.487, allocations: 1.219 kB / 0.5968 GB, free: 16.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.487, allocations: 0 / 0.5968 GB, free: 16.2 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.003248/0.4903, allocations: 0.9376 MB / 0.5977 GB, free: 15.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.58e-05/0.4903, allocations: 10.34 kB / 0.5977 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.308e-05/0.4904, allocations: 10.59 kB / 0.5977 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.127e-05/0.4905, allocations: 63.72 kB / 0.5978 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007142/0.4912, allocations: 81.62 kB / 0.5979 GB, free: 15.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005117/0.4917, allocations: 252.1 kB / 0.5981 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.4917, allocations: 18.53 kB / 0.5981 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.824e-05/0.4918, allocations: 24.69 kB / 0.5981 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.493, allocations: 485.5 kB / 0.5986 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.493, allocations: 1.688 kB / 0.5986 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.873e-05/0.4931, allocations: 13.75 kB / 0.5986 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.4931, allocations: 6.844 kB / 0.5986 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.4945, allocations: 0.681 MB / 0.5993 GB, free: 15.25 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.006997/0.5015, allocations: 3.102 MB / 0.6023 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007463/0.5022, allocations: 210.5 kB / 0.6025 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.5024, allocations: 68.66 kB / 0.6026 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07679/0.5792, allocations: 30.78 MB / 0.6327 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007779/0.5799, allocations: 355.8 kB / 0.633 GB, free: 12.13 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 1.924e-06/0.5799, allocations: 0 / 0.633 GB, free: 12.13 MB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.002974/0.5829, allocations: 0.9836 MB / 0.634 GB, free: 11.73 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002613/0.5832, allocations: 486.8 kB / 0.6344 GB, free: 11.15 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.5833, allocations: 157 kB / 0.6346 GB, free: 11.04 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.5834, allocations: 35.98 kB / 0.6346 GB, free: 11 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.5835, allocations: 163.9 kB / 0.6348 GB, free: 10.86 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.988e-05/0.5836, allocations: 136.6 kB / 0.6349 GB, free: 10.76 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.5837, allocations: 91.11 kB / 0.635 GB, free: 10.73 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.5839, allocations: 336.4 kB / 0.6353 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.584, allocations: 71.83 kB / 0.6354 GB, free: 10.39 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003268/0.5843, allocations: 320 kB / 0.6357 GB, free: 9.996 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005254/0.5848, allocations: 448.4 kB / 0.6361 GB, free: 9.555 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.5849, allocations: 4 kB / 0.6361 GB, free: 9.551 MB / 462.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007416/0.5856, allocations: 443.5 kB / 0.6365 GB, free: 9.238 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.5856, allocations: 17.19 kB / 0.6365 GB, free: 9.227 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.5856, allocations: 8 kB / 0.6365 GB, free: 9.219 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002089/0.5877, allocations: 321.2 kB / 0.6369 GB, free: 8.922 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003085/0.588, allocations: 107.1 kB / 0.637 GB, free: 8.832 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007687/0.5888, allocations: 1.222 MB / 0.6381 GB, free: 7.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.589, allocations: 21.56 kB / 0.6382 GB, free: 7.578 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.108e-05/0.5891, allocations: 35.31 kB / 0.6382 GB, free: 7.551 MB / 462.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.0001835/0.5893, allocations: 158.7 kB / 0.6384 GB, free: 7.414 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.192e-05/0.5894, allocations: 27.86 kB / 0.6384 GB, free: 7.387 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.5907, allocations: 1.051 MB / 0.6394 GB, free: 6.613 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.5907, allocations: 11.92 kB / 0.6394 GB, free: 6.602 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.5907, allocations: 4 kB / 0.6394 GB, free: 6.598 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.5907, allocations: 0 / 0.6394 GB, free: 6.598 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.5923, allocations: 1.56 MB / 0.6409 GB, free: 5.258 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.5923, allocations: 5.969 kB / 0.641 GB, free: 5.254 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.5925, allocations: 43.16 kB / 0.641 GB, free: 5.215 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00123/0.5937, allocations: 236.2 kB / 0.6412 GB, free: 5.008 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.5937, allocations: 15.61 kB / 0.6412 GB, free: 4.996 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007641/0.5945, allocations: 1.269 MB / 0.6425 GB, free: 3.699 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5945, allocations: 0 / 0.6425 GB, free: 3.699 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007344/0.5952, allocations: 0.5921 MB / 0.6431 GB, free: 3.059 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.224e-05/0.5953, allocations: 108.8 kB / 0.6432 GB, free: 2.934 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.422e-05/0.5954, allocations: 51.55 kB / 0.6432 GB, free: 2.883 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.5956, allocations: 17.5 kB / 0.6432 GB, free: 2.867 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.5957, allocations: 23.16 kB / 0.6432 GB, free: 2.848 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.596e-05/0.5957, allocations: 16 kB / 0.6433 GB, free: 2.832 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003029/0.596, allocations: 271.1 kB / 0.6435 GB, free: 2.57 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.596, allocations: 0 / 0.6435 GB, free: 2.57 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001948/0.5979, allocations: 452.5 kB / 0.6439 GB, free: 2.129 MB / 462.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.002667/0.6006, allocations: 1.717 MB / 0.6456 GB, free: 440 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006888/0.6013, allocations: 359.4 kB / 0.646 GB, free: 108 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.6013, allocations: 4 kB / 0.646 GB, free: 104 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003052/0.6016, allocations: 199.8 kB / 0.6462 GB, free: 15.91 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007797/0.6024, allocations: 122.8 kB / 0.6463 GB, free: 15.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.175/1.778, allocations: 0.495 GB / 1.141 GB, free: 197.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/1.778, allocations: 0.8215 MB / 1.142 GB, free: 196.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003641/1.778, allocations: 166.5 kB / 1.142 GB, free: 196.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/1.778, allocations: 163.4 kB / 1.142 GB, free: 196.2 MB / 0.6387 GB Notification: Performance of SimCode: time 1.312e-06/1.778, allocations: 0 / 1.142 GB, free: 196.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0355/1.814, allocations: 20.13 MB / 1.162 GB, free: 176.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/14.51, allocations: 17.84 kB / 1.162 GB, free: 176.3 MB / 0.6387 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.81125147000421]