Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 104.8 kB / 15.98 MB, free: 6.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001524/0.001523, allocations: 192 kB / 16.9 MB, free: 6.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.679/1.679, allocations: 205.1 MB / 222.8 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3809/0.3809, allocations: 43.51 MB / 313.6 MB, free: 8.457 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 67.91 kB / 382.3 MB, free: 8.512 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1262, allocations: 57.79 MB / 440.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.00942/0.1356, allocations: 8.175 MB / 448.3 MB, free: 6.406 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.1377, allocations: 1.897 MB / 450.2 MB, free: 4.504 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.487e-05/0.1378, allocations: 4 kB / 450.2 MB, free: 4.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002101/0.1381, allocations: 31.81 kB / 450.2 MB, free: 4.469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00255/0.1406, allocations: 1.161 MB / 451.4 MB, free: 3.305 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000293/0.1409, allocations: 147.7 kB / 451.5 MB, free: 3.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003504/0.1413, allocations: 298.6 kB / 451.8 MB, free: 2.867 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.894e-05/0.1413, allocations: 13.55 kB / 451.8 MB, free: 2.852 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009425/0.1423, allocations: 0.756 MB / 452.6 MB, free: 2.094 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.1425, allocations: 147.6 kB / 452.7 MB, free: 1.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.1426, allocations: 8 kB / 452.7 MB, free: 1.941 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001763/0.1443, allocations: 1.423 MB / 454.2 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.021e-05/0.1444, allocations: 39.83 kB / 454.2 MB, free: 488 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.454e-05/0.1445, allocations: 75.66 kB / 454.3 MB, free: 412 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2327/0.3772, allocations: 0.6645 MB / 454.9 MB, free: 39.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.3772, allocations: 0 / 454.9 MB, free: 39.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3772, allocations: 0 / 454.9 MB, free: 39.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.697e-06/0.3772, allocations: 0 / 454.9 MB, free: 39.87 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001122/0.3784, allocations: 0.5995 MB / 455.5 MB, free: 39.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.3784, allocations: 15.27 kB / 455.5 MB, free: 39.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.797e-05/0.3785, allocations: 51.95 kB / 455.6 MB, free: 39.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004936/0.379, allocations: 46.78 kB / 455.6 MB, free: 39.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.3792, allocations: 208.7 kB / 455.8 MB, free: 39.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.3792, allocations: 16.72 kB / 455.9 MB, free: 39.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.3793, allocations: 15.53 kB / 455.9 MB, free: 39.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003795/0.3797, allocations: 249.8 kB / 456.1 MB, free: 39.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3797, allocations: 0 / 456.1 MB, free: 39.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.666e-05/0.3797, allocations: 15.06 kB / 456.1 MB, free: 39.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3797, allocations: 5.688 kB / 456.1 MB, free: 39.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003127/0.38, allocations: 231.5 kB / 456.4 MB, free: 39.13 MB / 382.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.001005/0.3811, allocations: 1.369 MB / 457.7 MB, free: 37.92 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.3813, allocations: 89.73 kB / 457.8 MB, free: 37.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.044e-05/0.3813, allocations: 40.7 kB / 457.9 MB, free: 37.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001612/0.383, allocations: 2.652 MB / 460.5 MB, free: 35.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002887/0.3833, allocations: 155.8 kB / 460.7 MB, free: 34.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 2.775e-06/0.3833, allocations: 1.75 kB / 460.7 MB, free: 34.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008741/0.3841, allocations: 366 kB / 461 MB, free: 34.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.3842, allocations: 265.8 kB / 461.3 MB, free: 34.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.3843, allocations: 154 kB / 461.4 MB, free: 34.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.3844, allocations: 32.58 kB / 461.5 MB, free: 34.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.829e-05/0.3844, allocations: 144.5 kB / 461.6 MB, free: 34.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.3845, allocations: 68.92 kB / 461.7 MB, free: 34.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.122e-05/0.3845, allocations: 66.92 kB / 461.7 MB, free: 34.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.61e-05/0.3846, allocations: 324.6 kB / 462.1 MB, free: 33.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.081e-05/0.3847, allocations: 40.56 kB / 462.1 MB, free: 33.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.3848, allocations: 186 kB / 462.3 MB, free: 33.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.385, allocations: 266.9 kB / 462.5 MB, free: 33.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.385, allocations: 2.875 kB / 462.5 MB, free: 33.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003627/0.3854, allocations: 256.4 kB / 462.8 MB, free: 33.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.3854, allocations: 7.812 kB / 462.8 MB, free: 33.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.3855, allocations: 8.672 kB / 462.8 MB, free: 33.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.3855, allocations: 5.562 kB / 462.8 MB, free: 33.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004347/0.3859, allocations: 104.3 kB / 462.9 MB, free: 33.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002567/0.3862, allocations: 0.5987 MB / 463.5 MB, free: 32.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.3863, allocations: 14.03 kB / 463.5 MB, free: 32.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.032e-05/0.3864, allocations: 24.34 kB / 463.6 MB, free: 32.89 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (35): * Single equations (assignments): 34 * 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.0001203/0.3865, allocations: 140.5 kB / 463.7 MB, free: 32.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.857e-05/0.3866, allocations: 16.19 kB / 463.7 MB, free: 32.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004598/0.387, allocations: 234.2 kB / 463.9 MB, free: 32.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.387, allocations: 0 / 463.9 MB, free: 32.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3871, allocations: 6.469 kB / 463.9 MB, free: 32.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.3871, allocations: 0 / 463.9 MB, free: 32.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.3873, allocations: 227.7 kB / 464.2 MB, free: 32.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3873, allocations: 4.062 kB / 464.2 MB, free: 32.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002984/0.3876, allocations: 51.19 kB / 464.2 MB, free: 32.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3876, allocations: 2.844 kB / 464.2 MB, free: 32.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.3876, allocations: 6.375 kB / 464.2 MB, free: 32.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001732/0.3878, allocations: 0.5835 MB / 464.8 MB, free: 31.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3878, allocations: 0 / 464.8 MB, free: 31.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.388, allocations: 153.9 kB / 465 MB, free: 31.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.105e-05/0.3881, allocations: 100.5 kB / 465.1 MB, free: 31.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.3881, allocations: 10.38 kB / 465.1 MB, free: 31.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.3882, allocations: 3.906 kB / 465.1 MB, free: 31.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.647e-05/0.3883, allocations: 13.59 kB / 465.1 MB, free: 31.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.3883, allocations: 9.047 kB / 465.1 MB, free: 31.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.683e-05/0.3884, allocations: 138.3 kB / 465.2 MB, free: 31.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3884, allocations: 0 / 465.2 MB, free: 31.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005718/0.389, allocations: 175.4 kB / 465.4 MB, free: 31.58 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 11 * 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.0009414/0.3899, allocations: 0.9302 MB / 466.3 MB, free: 30.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004333/0.3903, allocations: 162.2 kB / 466.5 MB, free: 30.92 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3904, allocations: 1.312 kB / 466.5 MB, free: 30.92 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.3905, allocations: 54.59 kB / 466.5 MB, free: 30.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.3909, allocations: 57.91 kB / 466.6 MB, free: 30.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002573/0.3935, allocations: 2.554 MB / 469.2 MB, free: 29.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.3937, allocations: 0.72 MB / 469.9 MB, free: 28.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002814/0.394, allocations: 75.52 kB / 470 MB, free: 28.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.3941, allocations: 57.81 kB / 470 MB, free: 28.54 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3941, allocations: 0 / 470 MB, free: 28.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01869/0.4128, allocations: 7.296 MB / 477.3 MB, free: 27.62 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002832/0.4131, allocations: 299.8 kB / 477.6 MB, free: 27.24 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.017/2.431, allocations: 0 / 477.6 MB, free: 27.24 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Glycol47/Glycol47.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches