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.001436/0.001436, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001555/0.001555, allocations: 213.5 kB / 24.52 MB, free: 3.91 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.41/1.41, allocations: 230.5 MB / 258.2 MB, free: 7.98 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.2238/0.2238, allocations: 46.94 MB / 361.6 MB, free: 3.984 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.002248/0.002248, allocations: 79.81 kB / 0.4969 GB, free: 7.559 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3239, allocations: 66.08 MB / 0.5615 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.01028/0.3342, allocations: 4.96 MB / 0.5663 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004287/0.3385, allocations: 2.367 MB / 0.5686 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.338e-05/0.3386, allocations: 4 kB / 0.5686 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003255/0.3389, allocations: 39.69 kB / 0.5687 GB, free: 12.67 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004058/0.343, allocations: 1.108 MB / 0.5698 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004931/0.3434, allocations: 156.8 kB / 0.5699 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000597/0.344, allocations: 306.4 kB / 0.5702 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.94e-05/0.3441, allocations: 5.75 kB / 0.5702 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001543/0.3457, allocations: 0.6838 MB / 0.5709 GB, free: 10.42 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003746/0.346, allocations: 155.5 kB / 0.571 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.3461, allocations: 4 kB / 0.571 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003016/0.3491, allocations: 1.229 MB / 0.5722 GB, free: 9.031 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.3492, allocations: 39.83 kB / 0.5723 GB, free: 8.992 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.3493, allocations: 67.72 kB / 0.5723 GB, free: 8.926 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.3506, allocations: 0.5259 MB / 0.5728 GB, free: 8.398 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.3507, allocations: 3.984 kB / 0.5728 GB, free: 8.395 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3507, allocations: 0 / 0.5728 GB, free: 8.395 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.3507, allocations: 0 / 0.5728 GB, free: 8.395 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.001395/0.3521, allocations: 0.4968 MB / 0.5733 GB, free: 7.867 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.3521, allocations: 8.031 kB / 0.5733 GB, free: 7.859 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.233e-05/0.3521, allocations: 4.188 kB / 0.5733 GB, free: 7.855 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.634e-05/0.3522, allocations: 54.73 kB / 0.5734 GB, free: 7.793 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000777/0.353, allocations: 44.8 kB / 0.5734 GB, free: 7.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.3534, allocations: 154.3 kB / 0.5736 GB, free: 7.574 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.3534, allocations: 15.94 kB / 0.5736 GB, free: 7.559 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.115e-05/0.3535, allocations: 20 kB / 0.5736 GB, free: 7.539 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000674/0.3542, allocations: 317.8 kB / 0.5739 GB, free: 7.176 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.3542, allocations: 4 kB / 0.5739 GB, free: 7.172 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.569e-05/0.3542, allocations: 7.938 kB / 0.5739 GB, free: 7.164 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.3542, allocations: 7.938 kB / 0.5739 GB, free: 7.156 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005449/0.3548, allocations: 248.5 kB / 0.5742 GB, free: 6.914 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.001627/0.3564, allocations: 1.045 MB / 0.5752 GB, free: 5.801 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.3567, allocations: 78.61 kB / 0.5753 GB, free: 5.715 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.3568, allocations: 44.84 kB / 0.5753 GB, free: 5.668 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00106/0.3578, allocations: 456.4 kB / 0.5757 GB, free: 5.203 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003195/0.3581, allocations: 190.8 kB / 0.5759 GB, free: 4.973 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 4.338e-06/0.3581, allocations: 7.922 kB / 0.5759 GB, free: 4.965 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001166/0.3593, allocations: 369.1 kB / 0.5763 GB, free: 4.598 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001804/0.3595, allocations: 261 kB / 0.5765 GB, free: 4.281 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.3597, allocations: 153.8 kB / 0.5767 GB, free: 4.121 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.933e-05/0.3597, allocations: 29.7 kB / 0.5767 GB, free: 4.086 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.3598, allocations: 156.1 kB / 0.5769 GB, free: 3.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.913e-05/0.3599, allocations: 63.44 kB / 0.5769 GB, free: 3.867 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.36, allocations: 65.64 kB / 0.577 GB, free: 3.797 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3602, allocations: 322.8 kB / 0.5773 GB, free: 3.473 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.3603, allocations: 43.97 kB / 0.5773 GB, free: 3.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.3605, allocations: 199.3 kB / 0.5775 GB, free: 3.168 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000426/0.361, allocations: 254.7 kB / 0.5778 GB, free: 2.852 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.361, allocations: 4 kB / 0.5778 GB, free: 2.848 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006275/0.3616, allocations: 253.1 kB / 0.578 GB, free: 2.594 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.3616, allocations: 8 kB / 0.578 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.3616, allocations: 4.656 kB / 0.578 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/0.3617, allocations: 12.64 kB / 0.578 GB, free: 2.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006974/0.3624, allocations: 103.8 kB / 0.5781 GB, free: 2.469 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005149/0.3629, allocations: 0.5938 MB / 0.5787 GB, free: 1.852 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.3631, allocations: 11.95 kB / 0.5787 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.566e-05/0.3632, allocations: 23.98 kB / 0.5787 GB, free: 1.816 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.0002051/0.3634, allocations: 137.7 kB / 0.5789 GB, free: 1.672 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.804e-05/0.3634, allocations: 15.91 kB / 0.5789 GB, free: 1.656 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006523/0.3641, allocations: 231.9 kB / 0.5791 GB, free: 1.402 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.3641, allocations: 7.938 kB / 0.5791 GB, free: 1.395 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3641, allocations: 0 / 0.5791 GB, free: 1.395 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3641, allocations: 0 / 0.5791 GB, free: 1.395 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005002/0.3646, allocations: 338.8 kB / 0.5794 GB, free: 1.012 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3646, allocations: 0 / 0.5794 GB, free: 1.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004327/0.3651, allocations: 63.81 kB / 0.5795 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.3651, allocations: 0 / 0.5795 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.3651, allocations: 4 kB / 0.5795 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003929/0.3655, allocations: 0.5861 MB / 0.5801 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3655, allocations: 0 / 0.5801 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.3658, allocations: 150.6 kB / 0.5802 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.914e-05/0.3658, allocations: 19.94 kB / 0.5802 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.574e-05/0.3659, allocations: 11.95 kB / 0.5803 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.366, allocations: 4 kB / 0.5803 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.3661, allocations: 11.97 kB / 0.5803 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.3661, allocations: 8 kB / 0.5803 GB, free: 112 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001652/0.3663, allocations: 131.2 kB / 0.5804 GB, free: 15.98 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3663, allocations: 0 / 0.5804 GB, free: 15.98 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006946/0.367, allocations: 147.8 kB / 0.5805 GB, free: 15.84 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.001081/0.368, allocations: 0.8247 MB / 0.5814 GB, free: 14.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005795/0.3686, allocations: 148.8 kB / 0.5815 GB, free: 14.83 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.3686, allocations: 4 kB / 0.5815 GB, free: 14.83 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002361/0.3689, allocations: 48.16 kB / 0.5815 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005346/0.3694, allocations: 54.69 kB / 0.5816 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003933/0.3733, allocations: 2.548 MB / 0.5841 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.3734, allocations: 110.3 kB / 0.5842 GB, free: 11.83 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002837/0.3737, allocations: 77.83 kB / 0.5843 GB, free: 11.76 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.3739, allocations: 59.41 kB / 0.5843 GB, free: 11.7 MB / 430.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3739, allocations: 0 / 0.5843 GB, free: 11.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03011/0.404, allocations: 6.943 MB / 0.5911 GB, free: 4.898 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.18, allocations: 3.938 kB / 0.5911 GB, free: 4.895 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.24611233000178]