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.001709/0.001709, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.002152/0.002152, allocations: 216.9 kB / 24.53 MB, free: 4.008 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.467/1.467, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.2281/0.2281, allocations: 46.92 MB / 361.6 MB, free: 4.191 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.002248/0.002248, allocations: 75.88 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3489, allocations: 66.09 MB / 0.5615 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.007982/0.3569, allocations: 5.369 MB / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003367/0.3603, allocations: 2.659 MB / 0.5694 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.902e-05/0.3604, allocations: 0 / 0.5694 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002826/0.3606, allocations: 47.69 kB / 0.5694 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002989/0.3636, allocations: 1.135 MB / 0.5705 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.364, allocations: 156.4 kB / 0.5707 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000507/0.3645, allocations: 318.4 kB / 0.571 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.695e-05/0.3645, allocations: 5.75 kB / 0.571 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.3658, allocations: 0.7579 MB / 0.5717 GB, free: 9.828 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000323/0.3661, allocations: 155.5 kB / 0.5719 GB, free: 9.676 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.52e-05/0.3661, allocations: 8 kB / 0.5719 GB, free: 9.668 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00237/0.3685, allocations: 1.384 MB / 0.5732 GB, free: 8.281 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.259e-05/0.3686, allocations: 35.83 kB / 0.5733 GB, free: 8.246 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.3687, allocations: 87.64 kB / 0.5734 GB, free: 8.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.3699, allocations: 0.5259 MB / 0.5739 GB, free: 7.633 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3699, allocations: 0 / 0.5739 GB, free: 7.633 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3699, allocations: 0 / 0.5739 GB, free: 7.633 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.3699, allocations: 0 / 0.5739 GB, free: 7.633 MB / 414.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.001131/0.371, allocations: 0.5007 MB / 0.5744 GB, free: 7.102 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.3711, allocations: 8.031 kB / 0.5744 GB, free: 7.094 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.891e-05/0.3711, allocations: 8.188 kB / 0.5744 GB, free: 7.086 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.738e-05/0.3711, allocations: 54.73 kB / 0.5744 GB, free: 7.023 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004689/0.3716, allocations: 40.81 kB / 0.5745 GB, free: 6.984 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.3719, allocations: 166.3 kB / 0.5746 GB, free: 6.797 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.3719, allocations: 11.94 kB / 0.5746 GB, free: 6.785 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.372, allocations: 20 kB / 0.5747 GB, free: 6.766 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004518/0.3724, allocations: 240.7 kB / 0.5749 GB, free: 6.496 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3724, allocations: 4 kB / 0.5749 GB, free: 6.492 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.3724, allocations: 4 kB / 0.5749 GB, free: 6.488 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.3725, allocations: 8 kB / 0.5749 GB, free: 6.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000378/0.3728, allocations: 248.4 kB / 0.5751 GB, free: 6.238 MB / 414.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.00132/0.3741, allocations: 1.118 MB / 0.5762 GB, free: 5.039 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.3744, allocations: 86.59 kB / 0.5763 GB, free: 4.945 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.839e-05/0.3744, allocations: 36.84 kB / 0.5763 GB, free: 4.906 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008784/0.3753, allocations: 460.4 kB / 0.5768 GB, free: 4.438 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002471/0.3756, allocations: 169 kB / 0.5769 GB, free: 4.234 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.142e-06/0.3756, allocations: 0 / 0.5769 GB, free: 4.234 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009346/0.3765, allocations: 368.2 kB / 0.5773 GB, free: 3.867 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/0.3766, allocations: 265 kB / 0.5775 GB, free: 3.547 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.3768, allocations: 150.8 kB / 0.5777 GB, free: 3.391 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.3768, allocations: 33.7 kB / 0.5777 GB, free: 3.352 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.3769, allocations: 156.2 kB / 0.5779 GB, free: 3.195 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.62e-05/0.377, allocations: 67.42 kB / 0.5779 GB, free: 3.129 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.916e-05/0.3771, allocations: 65.64 kB / 0.578 GB, free: 3.059 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.3772, allocations: 322.8 kB / 0.5783 GB, free: 2.734 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.205e-05/0.3773, allocations: 43.97 kB / 0.5783 GB, free: 2.691 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.3775, allocations: 195.3 kB / 0.5785 GB, free: 2.434 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/0.3778, allocations: 254.6 kB / 0.5788 GB, free: 2.117 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3778, allocations: 0 / 0.5788 GB, free: 2.117 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004532/0.3783, allocations: 257.2 kB / 0.579 GB, free: 1.859 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.3783, allocations: 8 kB / 0.579 GB, free: 1.852 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.3783, allocations: 4 kB / 0.579 GB, free: 1.848 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.3783, allocations: 8 kB / 0.579 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000474/0.3788, allocations: 108.4 kB / 0.5791 GB, free: 1.734 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003944/0.3792, allocations: 0.5938 MB / 0.5797 GB, free: 1.117 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.3793, allocations: 19.89 kB / 0.5797 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-05/0.3794, allocations: 20 kB / 0.5798 GB, free: 1.078 MB / 414.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.000136/0.3795, allocations: 139 kB / 0.5799 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.088e-05/0.3796, allocations: 19.91 kB / 0.5799 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004545/0.38, allocations: 228.7 kB / 0.5801 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.38, allocations: 7.938 kB / 0.5801 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.38, allocations: 0 / 0.5801 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.38, allocations: 0 / 0.5801 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004313/0.3805, allocations: 338.9 kB / 0.5805 GB, free: 280 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.3805, allocations: 8.031 kB / 0.5805 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003416/0.3808, allocations: 59.83 kB / 0.5805 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3808, allocations: 0 / 0.5805 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.3808, allocations: 8 kB / 0.5805 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003459/0.3812, allocations: 0.5782 MB / 0.5811 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.3812, allocations: 3.984 kB / 0.5811 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.3814, allocations: 150.7 kB / 0.5812 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.707e-05/0.3815, allocations: 23.88 kB / 0.5813 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.3815, allocations: 3.953 kB / 0.5813 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.3816, allocations: 7.984 kB / 0.5813 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.3816, allocations: 11.98 kB / 0.5813 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.3817, allocations: 4 kB / 0.5813 GB, free: 15.37 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001136/0.3818, allocations: 139.2 kB / 0.5814 GB, free: 15.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3818, allocations: 0 / 0.5814 GB, free: 15.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005045/0.3823, allocations: 139.7 kB / 0.5816 GB, free: 15.1 MB / 430.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.000909/0.3832, allocations: 0.8208 MB / 0.5824 GB, free: 14.24 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004871/0.3837, allocations: 155.7 kB / 0.5825 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3837, allocations: 0 / 0.5825 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.3839, allocations: 49.22 kB / 0.5826 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.3843, allocations: 58.77 kB / 0.5826 GB, free: 13.99 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003272/0.3875, allocations: 2.543 MB / 0.5851 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.3879, allocations: 0.7168 MB / 0.5858 GB, free: 10.48 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002329/0.3881, allocations: 77.66 kB / 0.5859 GB, free: 10.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.3882, allocations: 55.41 kB / 0.5859 GB, free: 10.35 MB / 430.1 MB Notification: Performance of SimCode: time 4.8e-07/0.3882, allocations: 0 / 0.5859 GB, free: 10.35 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/0.4172, allocations: 6.749 MB / 0.5925 GB, free: 3.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.69, allocations: 3.938 kB / 0.5925 GB, free: 3.727 MB / 430.1 MB " [Timeout remaining time 647] (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.847833120031282]