Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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.001278/0.001278, 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.001314/0.001314, 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.433/1.433, 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.2232/0.2232, 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.Essotherm650,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 71.89 kB / 0.4917 GB, free: 7.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1214, allocations: 66.04 MB / 0.5562 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.008284/0.1297, allocations: 5.338 MB / 0.5614 GB, free: 152 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003493/0.1332, allocations: 2.651 MB / 0.564 GB, free: 13.48 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.1333, allocations: 8 kB / 0.564 GB, free: 13.48 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002216/0.1335, allocations: 39.69 kB / 0.564 GB, free: 13.44 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00262/0.1361, allocations: 1.118 MB / 0.5651 GB, free: 12.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.1364, allocations: 149.5 kB / 0.5653 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004109/0.1368, allocations: 302.5 kB / 0.5656 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.69e-05/0.1369, allocations: 5.562 kB / 0.5656 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.138, allocations: 0.7444 MB / 0.5663 GB, free: 11.13 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002452/0.1382, allocations: 155.5 kB / 0.5664 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.1382, allocations: 4 kB / 0.5664 GB, free: 10.97 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002/0.1402, allocations: 1.357 MB / 0.5678 GB, free: 9.613 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.328e-05/0.1403, allocations: 35.83 kB / 0.5678 GB, free: 9.578 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.1404, allocations: 79.66 kB / 0.5679 GB, free: 9.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007983/0.1412, allocations: 0.5336 MB / 0.5684 GB, free: 8.965 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1412, allocations: 4 kB / 0.5684 GB, free: 8.961 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1412, allocations: 0 / 0.5684 GB, free: 8.961 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1412, allocations: 0 / 0.5684 GB, free: 8.961 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.0009895/0.1422, allocations: 0.5682 MB / 0.569 GB, free: 8.344 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.1422, allocations: 16.03 kB / 0.569 GB, free: 8.328 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.657e-05/0.1423, allocations: 4.188 kB / 0.569 GB, free: 8.324 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.322e-05/0.1423, allocations: 54.72 kB / 0.569 GB, free: 8.262 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004414/0.1428, allocations: 48.81 kB / 0.5691 GB, free: 8.215 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.143, allocations: 204.2 kB / 0.5693 GB, free: 7.977 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.1431, allocations: 19.94 kB / 0.5693 GB, free: 7.957 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.1431, allocations: 23.92 kB / 0.5693 GB, free: 7.934 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004074/0.1435, allocations: 232.8 kB / 0.5695 GB, free: 7.672 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1435, allocations: 3.938 kB / 0.5695 GB, free: 7.668 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.666e-05/0.1435, allocations: 12 kB / 0.5695 GB, free: 7.656 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1435, allocations: 4 kB / 0.5695 GB, free: 7.652 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003555/0.1439, allocations: 228.6 kB / 0.5698 GB, free: 7.43 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.00136/0.1453, allocations: 1.376 MB / 0.5711 GB, free: 5.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.1455, allocations: 74.61 kB / 0.5712 GB, free: 5.828 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.059e-05/0.1455, allocations: 44.83 kB / 0.5712 GB, free: 5.781 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001723/0.1473, allocations: 2.059 MB / 0.5732 GB, free: 3.309 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002343/0.1475, allocations: 163 kB / 0.5734 GB, free: 3.109 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 3.386e-06/0.1475, allocations: 4 kB / 0.5734 GB, free: 3.105 MB / 430.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009344/0.1484, allocations: 364.7 kB / 0.5737 GB, free: 2.742 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000156/0.1486, allocations: 262 kB / 0.574 GB, free: 2.426 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.1487, allocations: 153.1 kB / 0.5741 GB, free: 2.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.1487, allocations: 33.7 kB / 0.5742 GB, free: 2.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.1489, allocations: 156 kB / 0.5743 GB, free: 2.074 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.965e-05/0.1489, allocations: 71.38 kB / 0.5744 GB, free: 2.004 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.471e-05/0.149, allocations: 65.64 kB / 0.5744 GB, free: 1.934 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1492, allocations: 322.8 kB / 0.5748 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.346e-05/0.1492, allocations: 43.97 kB / 0.5748 GB, free: 1.566 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.1495, allocations: 190.5 kB / 0.575 GB, free: 1.312 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/0.1498, allocations: 254.6 kB / 0.5752 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1498, allocations: 4 kB / 0.5752 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004324/0.1502, allocations: 252.1 kB / 0.5755 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1502, allocations: 7.938 kB / 0.5755 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.1502, allocations: 11.98 kB / 0.5755 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.1503, allocations: 8.594 kB / 0.5755 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/0.1507, allocations: 103.9 kB / 0.5756 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004077/0.1511, allocations: 0.5977 MB / 0.5762 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.1513, allocations: 8 kB / 0.5762 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.1513, allocations: 23.94 kB / 0.5762 GB, free: 15.96 MB / 446.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.0001414/0.1514, allocations: 137.7 kB / 0.5763 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.04e-05/0.1515, allocations: 16 kB / 0.5764 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004459/0.1519, allocations: 227.9 kB / 0.5766 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.1519, allocations: 3.938 kB / 0.5766 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.1519, allocations: 4 kB / 0.5766 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1519, allocations: 0 / 0.5766 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004656/0.1524, allocations: 460.8 kB / 0.577 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1524, allocations: 0 / 0.577 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003368/0.1528, allocations: 47.91 kB / 0.5771 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.1528, allocations: 7.984 kB / 0.5771 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.1528, allocations: 4 kB / 0.5771 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003572/0.1531, allocations: 0.5784 MB / 0.5776 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1531, allocations: 3.938 kB / 0.5776 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.1534, allocations: 158.6 kB / 0.5778 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.691e-05/0.1534, allocations: 97.03 kB / 0.5779 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.1535, allocations: 11.95 kB / 0.5779 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.1536, allocations: 0 / 0.5779 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.1536, allocations: 11.98 kB / 0.5779 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.1537, allocations: 19.98 kB / 0.5779 GB, free: 14.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001145/0.1538, allocations: 123.2 kB / 0.578 GB, free: 13.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1538, allocations: 0 / 0.578 GB, free: 13.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004918/0.1543, allocations: 139.7 kB / 0.5782 GB, free: 13.76 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.0008835/0.1551, allocations: 0.8324 MB / 0.579 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005006/0.1556, allocations: 155.7 kB / 0.5791 GB, free: 12.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1556, allocations: 1.312 kB / 0.5791 GB, free: 12.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.1558, allocations: 51.84 kB / 0.5792 GB, free: 12.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.1562, allocations: 48.08 kB / 0.5792 GB, free: 12.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003225/0.1594, allocations: 2.531 MB / 0.5817 GB, free: 9.887 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.1597, allocations: 0.709 MB / 0.5824 GB, free: 9.152 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002174/0.16, allocations: 77.88 kB / 0.5825 GB, free: 9.078 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.1601, allocations: 59.39 kB / 0.5825 GB, free: 9.02 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1601, allocations: 4 kB / 0.5825 GB, free: 9.016 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02549/0.1856, allocations: 6.617 MB / 0.589 GB, free: 2.598 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/11.83, allocations: 18.58 kB / 0.589 GB, free: 2.586 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Essotherm650/Essotherm650.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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.Essotherm650_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.163062418985646]