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.001359/0.001359, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.001513/0.001513, allocations: 214.9 kB / 23.75 MB, free: 4.672 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.463/1.463, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.2507/0.2507, allocations: 46.92 MB / 360.8 MB, free: 4.188 MB / 286.1 MB " [Timeout remaining time 179] 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.002413/0.002413, allocations: 95.84 kB / 0.4962 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3223, allocations: 66.07 MB / 0.5608 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.008096/0.3304, allocations: 5.369 MB / 0.566 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00349/0.3339, allocations: 2.666 MB / 0.5686 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.645e-05/0.334, allocations: 0 / 0.5686 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002595/0.3342, allocations: 43.69 kB / 0.5686 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002935/0.3372, allocations: 1.108 MB / 0.5697 GB, free: 11.06 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.3375, allocations: 144.9 kB / 0.5699 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005046/0.338, allocations: 318.3 kB / 0.5702 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.192e-05/0.3381, allocations: 13.75 kB / 0.5702 GB, free: 10.6 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001201/0.3393, allocations: 0.6683 MB / 0.5708 GB, free: 9.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002923/0.3396, allocations: 151.5 kB / 0.571 GB, free: 9.781 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.225e-05/0.3396, allocations: 8 kB / 0.571 GB, free: 9.773 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00219/0.3418, allocations: 1.267 MB / 0.5722 GB, free: 8.508 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.974e-05/0.3418, allocations: 35.83 kB / 0.5723 GB, free: 8.473 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.342, allocations: 79.59 kB / 0.5723 GB, free: 8.395 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009985/0.343, allocations: 0.5259 MB / 0.5728 GB, free: 7.867 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.343, allocations: 0 / 0.5728 GB, free: 7.867 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.478e-06/0.343, allocations: 4 kB / 0.5728 GB, free: 7.863 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.343, allocations: 0 / 0.5728 GB, free: 7.863 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.001019/0.344, allocations: 0.5045 MB / 0.5733 GB, free: 7.328 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.344, allocations: 15.97 kB / 0.5734 GB, free: 7.312 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.402e-05/0.3441, allocations: 50.73 kB / 0.5734 GB, free: 7.254 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004673/0.3446, allocations: 48.75 kB / 0.5735 GB, free: 7.207 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002931/0.3449, allocations: 150.3 kB / 0.5736 GB, free: 7.035 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.3449, allocations: 16.12 kB / 0.5736 GB, free: 7.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/0.3449, allocations: 23.98 kB / 0.5736 GB, free: 6.996 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000421/0.3453, allocations: 244.7 kB / 0.5739 GB, free: 6.723 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3453, allocations: 3.938 kB / 0.5739 GB, free: 6.719 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/0.3454, allocations: 11.98 kB / 0.5739 GB, free: 6.707 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.3454, allocations: 4 kB / 0.5739 GB, free: 6.703 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003697/0.3458, allocations: 240.6 kB / 0.5741 GB, free: 6.469 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.001291/0.347, allocations: 1.118 MB / 0.5752 GB, free: 5.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.3472, allocations: 74.61 kB / 0.5753 GB, free: 5.188 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.453e-05/0.3473, allocations: 44.83 kB / 0.5753 GB, free: 5.141 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008763/0.3482, allocations: 468.4 kB / 0.5758 GB, free: 4.664 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002491/0.3484, allocations: 168.8 kB / 0.5759 GB, free: 4.461 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.442e-06/0.3484, allocations: 0 / 0.5759 GB, free: 4.461 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009053/0.3493, allocations: 360.2 kB / 0.5763 GB, free: 4.102 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001534/0.3495, allocations: 266 kB / 0.5765 GB, free: 3.781 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.3496, allocations: 149.8 kB / 0.5767 GB, free: 3.625 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.3497, allocations: 37.69 kB / 0.5767 GB, free: 3.582 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.3498, allocations: 148.1 kB / 0.5768 GB, free: 3.434 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.258e-05/0.3499, allocations: 75.41 kB / 0.5769 GB, free: 3.359 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.504e-05/0.3499, allocations: 61.66 kB / 0.577 GB, free: 3.293 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3501, allocations: 322.8 kB / 0.5773 GB, free: 2.969 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.561e-05/0.3502, allocations: 48.56 kB / 0.5773 GB, free: 2.922 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.3504, allocations: 191.4 kB / 0.5775 GB, free: 2.668 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003307/0.3507, allocations: 258.2 kB / 0.5778 GB, free: 2.352 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/0.3507, allocations: 4 kB / 0.5778 GB, free: 2.348 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004408/0.3512, allocations: 253.1 kB / 0.578 GB, free: 2.094 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3512, allocations: 4 kB / 0.578 GB, free: 2.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.3512, allocations: 8.656 kB / 0.578 GB, free: 2.082 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3512, allocations: 7.938 kB / 0.578 GB, free: 2.074 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00047/0.3517, allocations: 103.8 kB / 0.5781 GB, free: 1.973 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003995/0.3521, allocations: 0.5938 MB / 0.5787 GB, free: 1.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.3522, allocations: 15.94 kB / 0.5787 GB, free: 1.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.618e-05/0.3523, allocations: 24 kB / 0.5787 GB, free: 1.316 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.0001307/0.3524, allocations: 139.1 kB / 0.5789 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-05/0.3524, allocations: 15.91 kB / 0.5789 GB, free: 1.156 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004537/0.3529, allocations: 239.8 kB / 0.5791 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.3529, allocations: 4 kB / 0.5791 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3529, allocations: 3.938 kB / 0.5791 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3529, allocations: 0 / 0.5791 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004242/0.3533, allocations: 350.9 kB / 0.5795 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3533, allocations: 0 / 0.5795 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003377/0.3537, allocations: 51.89 kB / 0.5795 GB, free: 452 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.3537, allocations: 7.938 kB / 0.5795 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.3537, allocations: 0 / 0.5795 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003714/0.3541, allocations: 0.5861 MB / 0.5801 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3541, allocations: 4.125 kB / 0.5801 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.3543, allocations: 146.5 kB / 0.5802 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-05/0.3544, allocations: 19.92 kB / 0.5803 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.475e-05/0.3544, allocations: 11.95 kB / 0.5803 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.3545, allocations: 4 kB / 0.5803 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.3546, allocations: 15.98 kB / 0.5803 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.3546, allocations: 7.984 kB / 0.5803 GB, free: 15.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001218/0.3547, allocations: 127.3 kB / 0.5804 GB, free: 15.47 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3547, allocations: 3.938 kB / 0.5804 GB, free: 15.46 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005261/0.3552, allocations: 147.6 kB / 0.5806 GB, free: 15.32 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.0009263/0.3561, allocations: 0.8206 MB / 0.5814 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004847/0.3566, allocations: 148.9 kB / 0.5815 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.3566, allocations: 0 / 0.5815 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.3568, allocations: 52.03 kB / 0.5816 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.3572, allocations: 57.44 kB / 0.5816 GB, free: 14.22 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/0.3606, allocations: 2.541 MB / 0.5841 GB, free: 11.45 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.361, allocations: 0.7089 MB / 0.5848 GB, free: 10.71 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002428/0.3612, allocations: 81.81 kB / 0.5849 GB, free: 10.64 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.3613, allocations: 51.42 kB / 0.5849 GB, free: 10.59 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3613, allocations: 0 / 0.5849 GB, free: 10.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03595/0.3973, allocations: 6.715 MB / 0.5915 GB, free: 3.984 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.25, allocations: 4.062 kB / 0.5915 GB, free: 3.98 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: 16.32181726791896]