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.001564/0.001564, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001456/0.001456, allocations: 215.4 kB / 23.73 MB, free: 4.406 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.42/1.42, allocations: 230.5 MB / 257.4 MB, free: 7.75 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.2206/0.2206, allocations: 46.95 MB / 360.8 MB, free: 3.914 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="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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00247/0.00247, allocations: 79.88 kB / 0.4962 GB, free: 7.504 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3052, allocations: 66.08 MB / 0.5607 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.007694/0.3128, allocations: 4.964 MB / 0.5656 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003259/0.3161, allocations: 2.375 MB / 0.5679 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.3162, allocations: 0 / 0.5679 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002942/0.3165, allocations: 35.77 kB / 0.5679 GB, free: 12.6 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003087/0.3196, allocations: 1.108 MB / 0.569 GB, free: 11.49 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.32, allocations: 154 kB / 0.5692 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005086/0.3205, allocations: 322.3 kB / 0.5695 GB, free: 11.03 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.533e-05/0.3205, allocations: 9.75 kB / 0.5695 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.3217, allocations: 0.6644 MB / 0.5701 GB, free: 10.35 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000264/0.3219, allocations: 151.5 kB / 0.5703 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.322, allocations: 8 kB / 0.5703 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002039/0.324, allocations: 1.213 MB / 0.5715 GB, free: 8.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.764e-05/0.3241, allocations: 39.83 kB / 0.5715 GB, free: 8.941 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.567e-05/0.3242, allocations: 67.72 kB / 0.5716 GB, free: 8.875 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009761/0.3252, allocations: 0.5259 MB / 0.5721 GB, free: 8.348 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3252, allocations: 0 / 0.5721 GB, free: 8.348 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.3252, allocations: 4 kB / 0.5721 GB, free: 8.344 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.3252, allocations: 0 / 0.5721 GB, free: 8.344 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.001024/0.3262, allocations: 0.4967 MB / 0.5726 GB, free: 7.816 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.3262, allocations: 8.031 kB / 0.5726 GB, free: 7.809 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.258e-05/0.3263, allocations: 50.73 kB / 0.5726 GB, free: 7.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004578/0.3268, allocations: 48.81 kB / 0.5727 GB, free: 7.703 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/0.3271, allocations: 158.3 kB / 0.5728 GB, free: 7.523 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.3271, allocations: 16.12 kB / 0.5728 GB, free: 7.508 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.3271, allocations: 16 kB / 0.5728 GB, free: 7.492 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004749/0.3276, allocations: 314 kB / 0.5731 GB, free: 7.133 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.3276, allocations: 0 / 0.5731 GB, free: 7.133 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.3276, allocations: 12 kB / 0.5732 GB, free: 7.121 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.3276, allocations: 4 kB / 0.5732 GB, free: 7.117 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003946/0.328, allocations: 232.5 kB / 0.5734 GB, free: 6.891 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.001279/0.3293, allocations: 1.053 MB / 0.5744 GB, free: 5.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.3295, allocations: 86.48 kB / 0.5745 GB, free: 5.676 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.789e-05/0.3296, allocations: 32.84 kB / 0.5745 GB, free: 5.641 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008664/0.3305, allocations: 464.4 kB / 0.575 GB, free: 5.168 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002655/0.3307, allocations: 190.7 kB / 0.5751 GB, free: 4.938 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.353e-06/0.3307, allocations: 0 / 0.5751 GB, free: 4.938 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009236/0.3317, allocations: 364.8 kB / 0.5755 GB, free: 4.574 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000149/0.3318, allocations: 273 kB / 0.5758 GB, free: 4.246 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.332, allocations: 157.6 kB / 0.5759 GB, free: 4.082 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.332, allocations: 29.8 kB / 0.5759 GB, free: 4.047 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.82e-05/0.3321, allocations: 149.2 kB / 0.5761 GB, free: 3.898 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.526e-05/0.3322, allocations: 71.41 kB / 0.5761 GB, free: 3.828 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.968e-05/0.3323, allocations: 61.69 kB / 0.5762 GB, free: 3.762 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3324, allocations: 330.8 kB / 0.5765 GB, free: 3.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.421e-05/0.3325, allocations: 39.97 kB / 0.5766 GB, free: 3.391 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.3327, allocations: 191.4 kB / 0.5767 GB, free: 3.137 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003208/0.333, allocations: 254.6 kB / 0.577 GB, free: 2.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.333, allocations: 4 kB / 0.577 GB, free: 2.816 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004337/0.3335, allocations: 257.7 kB / 0.5772 GB, free: 2.559 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.3335, allocations: 12.03 kB / 0.5772 GB, free: 2.547 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.3335, allocations: 4 kB / 0.5772 GB, free: 2.543 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.3335, allocations: 8 kB / 0.5773 GB, free: 2.535 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004861/0.334, allocations: 103.8 kB / 0.5774 GB, free: 2.434 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003927/0.3344, allocations: 0.5977 MB / 0.5779 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.3345, allocations: 19.83 kB / 0.578 GB, free: 1.793 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.602e-05/0.3346, allocations: 19.94 kB / 0.578 GB, free: 1.773 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.0001365/0.3347, allocations: 145.8 kB / 0.5781 GB, free: 1.621 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.205e-05/0.3348, allocations: 15.95 kB / 0.5781 GB, free: 1.605 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004676/0.3352, allocations: 223.9 kB / 0.5783 GB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.3352, allocations: 4 kB / 0.5783 GB, free: 1.355 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.3352, allocations: 11.92 kB / 0.5784 GB, free: 1.344 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3353, allocations: 0 / 0.5784 GB, free: 1.344 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004466/0.3357, allocations: 326.8 kB / 0.5787 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3357, allocations: 3.984 kB / 0.5787 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003399/0.336, allocations: 51.91 kB / 0.5787 GB, free: 0.918 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.336, allocations: 8.031 kB / 0.5787 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.3361, allocations: 12.08 kB / 0.5787 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003426/0.3364, allocations: 0.5821 MB / 0.5793 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3364, allocations: 0 / 0.5793 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.3366, allocations: 146.6 kB / 0.5795 GB, free: 128 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.346e-05/0.3367, allocations: 19.92 kB / 0.5795 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/0.3367, allocations: 15.89 kB / 0.5795 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.3369, allocations: 0 / 0.5795 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.039e-05/0.3369, allocations: 19.97 kB / 0.5795 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.3369, allocations: 12.08 kB / 0.5795 GB, free: 60 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001288/0.337, allocations: 127.2 kB / 0.5796 GB, free: 15.93 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.337, allocations: 0 / 0.5796 GB, free: 15.93 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005272/0.3376, allocations: 139.6 kB / 0.5798 GB, free: 15.8 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.0008689/0.3384, allocations: 0.8246 MB / 0.5806 GB, free: 14.94 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004864/0.3389, allocations: 152.9 kB / 0.5807 GB, free: 14.79 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.3389, allocations: 0 / 0.5807 GB, free: 14.79 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.3391, allocations: 47.91 kB / 0.5808 GB, free: 14.74 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.3395, allocations: 62.67 kB / 0.5808 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003377/0.3429, allocations: 2.547 MB / 0.5833 GB, free: 11.92 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.343, allocations: 98.41 kB / 0.5834 GB, free: 11.8 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002606/0.3433, allocations: 73.66 kB / 0.5835 GB, free: 11.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.3434, allocations: 59.39 kB / 0.5835 GB, free: 11.67 MB / 430.1 MB Notification: Performance of SimCode: time 2.044e-06/0.3434, allocations: 0 / 0.5835 GB, free: 11.67 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03518/0.3786, allocations: 7.254 MB / 0.5906 GB, free: 4.547 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/12.78, allocations: 3.938 kB / 0.5906 GB, free: 4.543 MB / 430.1 MB " [Timeout remaining time 647] (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.698300688061863]