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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001789/0.001789, allocations: 118.3 kB / 18.49 MB, free: 4.535 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.002264/0.002264, allocations: 222.3 kB / 21.46 MB, free: 1.582 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.419/1.419, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.2136/0.2136, allocations: 46.91 MB / 357.7 MB, free: 10.18 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.Glycol47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 79.86 kB / 0.4917 GB, free: 7.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1224, allocations: 66.05 MB / 0.5562 GB, free: 5.512 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.007251/0.1297, allocations: 5.324 MB / 0.5614 GB, free: 148 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003063/0.1327, allocations: 2.659 MB / 0.564 GB, free: 13.47 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.859e-05/0.1328, allocations: 0 / 0.564 GB, free: 13.47 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002328/0.133, allocations: 39.75 kB / 0.564 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002489/0.1355, allocations: 1.087 MB / 0.5651 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.1358, allocations: 153.5 kB / 0.5652 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004215/0.1363, allocations: 302.4 kB / 0.5655 GB, free: 11.9 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.245e-05/0.1363, allocations: 9.547 kB / 0.5655 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000987/0.1373, allocations: 0.6509 MB / 0.5662 GB, free: 11.24 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002433/0.1375, allocations: 155.5 kB / 0.5663 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.1376, allocations: 8 kB / 0.5663 GB, free: 11.08 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001898/0.1394, allocations: 1.229 MB / 0.5675 GB, free: 9.852 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.773e-05/0.1395, allocations: 35.78 kB / 0.5676 GB, free: 9.816 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.533e-05/0.1396, allocations: 79.66 kB / 0.5676 GB, free: 9.738 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000845/0.1405, allocations: 0.5375 MB / 0.5682 GB, free: 9.199 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1405, allocations: 0 / 0.5682 GB, free: 9.199 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1405, allocations: 0 / 0.5682 GB, free: 9.199 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1405, allocations: 4 kB / 0.5682 GB, free: 9.195 MB / 430.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.001029/0.1415, allocations: 0.576 MB / 0.5687 GB, free: 8.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1415, allocations: 8.031 kB / 0.5687 GB, free: 8.562 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.686e-05/0.1416, allocations: 4.188 kB / 0.5687 GB, free: 8.559 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.437e-05/0.1416, allocations: 50.73 kB / 0.5688 GB, free: 8.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004572/0.1421, allocations: 44.81 kB / 0.5688 GB, free: 8.457 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.1424, allocations: 220.1 kB / 0.569 GB, free: 8.203 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.1424, allocations: 11.94 kB / 0.569 GB, free: 8.191 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.1424, allocations: 16 kB / 0.5691 GB, free: 8.176 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004422/0.1429, allocations: 244.7 kB / 0.5693 GB, free: 7.902 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1429, allocations: 4 kB / 0.5693 GB, free: 7.898 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.1429, allocations: 4 kB / 0.5693 GB, free: 7.895 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.1429, allocations: 8 kB / 0.5693 GB, free: 7.887 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003645/0.1433, allocations: 232.5 kB / 0.5695 GB, free: 7.66 MB / 430.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.001393/0.1447, allocations: 1.372 MB / 0.5709 GB, free: 6.145 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.1449, allocations: 78.61 kB / 0.5709 GB, free: 6.059 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.71e-05/0.1449, allocations: 36.84 kB / 0.571 GB, free: 6.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001757/0.1467, allocations: 2.051 MB / 0.573 GB, free: 3.555 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002641/0.147, allocations: 170.9 kB / 0.5731 GB, free: 3.348 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.773e-06/0.147, allocations: 0 / 0.5731 GB, free: 3.348 MB / 430.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009624/0.1479, allocations: 361.6 kB / 0.5735 GB, free: 2.988 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001511/0.1481, allocations: 273.2 kB / 0.5737 GB, free: 2.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.1482, allocations: 153.1 kB / 0.5739 GB, free: 2.504 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.1483, allocations: 29.8 kB / 0.5739 GB, free: 2.469 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.451e-05/0.1484, allocations: 148.1 kB / 0.5741 GB, free: 2.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.927e-05/0.1484, allocations: 75.34 kB / 0.5741 GB, free: 2.246 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.267e-05/0.1485, allocations: 65.64 kB / 0.5742 GB, free: 2.176 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1487, allocations: 330.8 kB / 0.5745 GB, free: 1.844 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.669e-05/0.1488, allocations: 35.98 kB / 0.5745 GB, free: 1.809 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.149, allocations: 194.5 kB / 0.5747 GB, free: 1.551 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003318/0.1493, allocations: 254.6 kB / 0.575 GB, free: 1.234 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1493, allocations: 4 kB / 0.575 GB, free: 1.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004398/0.1497, allocations: 264.7 kB / 0.5752 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.1498, allocations: 8 kB / 0.5752 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.1498, allocations: 4 kB / 0.5752 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.1498, allocations: 8 kB / 0.5753 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004918/0.1503, allocations: 103.8 kB / 0.5754 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003879/0.1507, allocations: 0.5976 MB / 0.5759 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.1508, allocations: 12.19 kB / 0.5759 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.681e-05/0.1508, allocations: 24 kB / 0.576 GB, free: 196 kB / 430.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.0001233/0.151, allocations: 129.7 kB / 0.5761 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.682e-05/0.151, allocations: 27.89 kB / 0.5761 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004717/0.1515, allocations: 219.9 kB / 0.5763 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/0.1515, allocations: 12 kB / 0.5763 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1515, allocations: 0 / 0.5763 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.1515, allocations: 3.984 kB / 0.5763 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004654/0.152, allocations: 440.8 kB / 0.5768 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.152, allocations: 0 / 0.5768 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003328/0.1523, allocations: 55.83 kB / 0.5768 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.1523, allocations: 4 kB / 0.5768 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.1523, allocations: 4.094 kB / 0.5768 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003231/0.1527, allocations: 0.586 MB / 0.5774 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1527, allocations: 7.969 kB / 0.5774 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.1529, allocations: 150.5 kB / 0.5776 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.67e-05/0.153, allocations: 97.14 kB / 0.5776 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.153, allocations: 11.95 kB / 0.5777 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.1531, allocations: 7.984 kB / 0.5777 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.596e-05/0.1532, allocations: 11.98 kB / 0.5777 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.1532, allocations: 8 kB / 0.5777 GB, free: 14.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001059/0.1533, allocations: 127.2 kB / 0.5778 GB, free: 14.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1533, allocations: 0 / 0.5778 GB, free: 14.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005007/0.1538, allocations: 147.7 kB / 0.5779 GB, free: 13.99 MB / 446.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.000878/0.1547, allocations: 0.8246 MB / 0.5787 GB, free: 13.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004801/0.1551, allocations: 156.6 kB / 0.5789 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1551, allocations: 0 / 0.5789 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.1553, allocations: 47.91 kB / 0.5789 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.1557, allocations: 50.06 kB / 0.579 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/0.1589, allocations: 2.536 MB / 0.5815 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.1592, allocations: 0.7167 MB / 0.5822 GB, free: 9.383 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002209/0.1594, allocations: 77.94 kB / 0.5822 GB, free: 9.309 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.1596, allocations: 59.39 kB / 0.5823 GB, free: 9.25 MB / 446.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1596, allocations: 0 / 0.5823 GB, free: 9.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02519/0.1847, allocations: 6.613 MB / 0.5888 GB, free: 2.828 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/11.9, allocations: 7.375 kB / 0.5888 GB, free: 2.824 MB / 446.1 MB " [Timeout remaining time 648] (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 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.18334401003085]