Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Glycol47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001091/0.001091, allocations: 106 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001185/0.001185, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.209/0.209, allocations: 46.09 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 79.44 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1041, allocations: 62.44 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.00682/0.111, allocations: 5.296 MB / 485.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002812/0.1138, allocations: 2.651 MB / 488.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.34e-05/0.1139, allocations: 0 / 488.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.1142, allocations: 35.77 kB / 488.1 MB, free: 13.17 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002733/0.117, allocations: 1.077 MB / 489.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003295/0.1173, allocations: 146.1 kB / 489.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000481/0.1178, allocations: 298.7 kB / 489.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.946e-05/0.1179, allocations: 21.42 kB / 489.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.1189, allocations: 0.6434 MB / 490.3 MB, free: 11 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002584/0.1192, allocations: 167.4 kB / 490.5 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.311e-05/0.1192, allocations: 4 kB / 490.5 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001928/0.1211, allocations: 1.17 MB / 491.6 MB, free: 9.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.886e-05/0.1212, allocations: 35.89 kB / 491.7 MB, free: 9.625 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.1213, allocations: 79.59 kB / 491.7 MB, free: 9.547 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.1224, allocations: 0.534 MB / 492.3 MB, free: 9.012 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1224, allocations: 4 kB / 492.3 MB, free: 9.008 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1224, allocations: 0 / 492.3 MB, free: 9.008 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1224, allocations: 3.984 kB / 492.3 MB, free: 9.004 MB / 366.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.0009912/0.1234, allocations: 0.5576 MB / 492.8 MB, free: 8.398 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.1235, allocations: 8.031 kB / 492.8 MB, free: 8.391 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.839e-05/0.1235, allocations: 54.73 kB / 492.9 MB, free: 8.328 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004595/0.124, allocations: 48.7 kB / 492.9 MB, free: 8.281 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.1242, allocations: 216.1 kB / 493.2 MB, free: 8.031 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.1243, allocations: 12.12 kB / 493.2 MB, free: 8.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.1243, allocations: 20 kB / 493.2 MB, free: 8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003985/0.1247, allocations: 244.5 kB / 493.4 MB, free: 7.727 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1247, allocations: 4 kB / 493.4 MB, free: 7.723 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/0.1248, allocations: 15.98 kB / 493.4 MB, free: 7.707 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1248, allocations: 4 kB / 493.5 MB, free: 7.703 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003458/0.1251, allocations: 229.4 kB / 493.7 MB, free: 7.48 MB / 366.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.0014/0.1265, allocations: 1.361 MB / 495 MB, free: 5.977 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.1268, allocations: 94.53 kB / 495.1 MB, free: 5.875 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.381e-05/0.1268, allocations: 40.84 kB / 495.2 MB, free: 5.832 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001728/0.1286, allocations: 2.051 MB / 497.2 MB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003205/0.1289, allocations: 177.5 kB / 497.4 MB, free: 3.156 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 2.044e-06/0.1289, allocations: 0 / 497.4 MB, free: 3.156 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009387/0.1299, allocations: 355.8 kB / 497.7 MB, free: 2.801 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/0.13, allocations: 269 kB / 498 MB, free: 2.477 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.1302, allocations: 149.7 kB / 498.2 MB, free: 2.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.1302, allocations: 25.7 kB / 498.2 MB, free: 2.289 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.967e-05/0.1303, allocations: 151.7 kB / 498.3 MB, free: 2.137 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.433e-05/0.1303, allocations: 59.36 kB / 498.4 MB, free: 2.078 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.098e-05/0.1304, allocations: 73.59 kB / 498.5 MB, free: 2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1305, allocations: 322.8 kB / 498.8 MB, free: 1.676 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.995e-05/0.1306, allocations: 43.97 kB / 498.8 MB, free: 1.633 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.1308, allocations: 194.6 kB / 499 MB, free: 1.375 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.1311, allocations: 250.6 kB / 499.2 MB, free: 1.062 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1311, allocations: 0 / 499.2 MB, free: 1.062 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000418/0.1315, allocations: 257.3 kB / 499.5 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1316, allocations: 8 kB / 499.5 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.1316, allocations: 4 kB / 499.5 MB, free: 0.793 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.1316, allocations: 8 kB / 499.5 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000473/0.1321, allocations: 99.86 kB / 499.6 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003463/0.1324, allocations: 0.6057 MB / 0.4885 GB, free: 60 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.1326, allocations: 11.94 kB / 0.4885 GB, free: 48 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/0.1326, allocations: 23.98 kB / 0.4885 GB, free: 24 kB / 366.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.0001394/0.1328, allocations: 133.7 kB / 0.4887 GB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.577e-05/0.1328, allocations: 19.81 kB / 0.4887 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004693/0.1333, allocations: 232.5 kB / 0.4889 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1333, allocations: 3.984 kB / 0.4889 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1333, allocations: 3.938 kB / 0.4889 GB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1333, allocations: 4 kB / 0.4889 GB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004049/0.1337, allocations: 444.8 kB / 0.4893 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.1338, allocations: 4.094 kB / 0.4893 GB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003411/0.1341, allocations: 51.97 kB / 0.4894 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.1341, allocations: 3.938 kB / 0.4894 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.1341, allocations: 11.98 kB / 0.4894 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002721/0.1344, allocations: 0.5821 MB / 0.49 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1344, allocations: 0 / 0.49 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.1347, allocations: 154.6 kB / 0.4901 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.254e-05/0.1348, allocations: 101 kB / 0.4902 GB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.1348, allocations: 3.938 kB / 0.4902 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.1349, allocations: 8 kB / 0.4902 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.322e-05/0.135, allocations: 7.984 kB / 0.4902 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.135, allocations: 8 kB / 0.4902 GB, free: 14.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001001/0.1351, allocations: 127.2 kB / 0.4904 GB, free: 13.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1351, allocations: 0 / 0.4904 GB, free: 13.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004991/0.1356, allocations: 139.9 kB / 0.4905 GB, free: 13.83 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.0009363/0.1365, allocations: 0.8499 MB / 0.4913 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004673/0.137, allocations: 163.5 kB / 0.4915 GB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.137, allocations: 0 / 0.4915 GB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.1372, allocations: 51.91 kB / 0.4915 GB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.1376, allocations: 59.62 kB / 0.4916 GB, free: 12.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002941/0.1406, allocations: 2.512 MB / 0.494 GB, free: 9.953 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.1409, allocations: 0.7128 MB / 0.4947 GB, free: 9.215 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002898/0.1412, allocations: 81.83 kB / 0.4948 GB, free: 9.137 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.1413, allocations: 55.42 kB / 0.4949 GB, free: 9.082 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1413, allocations: 0 / 0.4949 GB, free: 9.082 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.1655, allocations: 6.614 MB / 0.5013 GB, free: 2.648 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/10.96, allocations: 5.359 kB / 0.5013 GB, free: 2.645 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Glycol47/Glycol47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches