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.001267/0.001267, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001358/0.001358, allocations: 207.4 kB / 24.53 MB, free: 4.07 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.376/1.376, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.2233/0.2233, allocations: 46.92 MB / 361.6 MB, free: 4.188 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.002172/0.002172, allocations: 75.89 kB / 0.497 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3328, allocations: 66.09 MB / 0.5615 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.00805/0.3408, allocations: 5.372 MB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003338/0.3441, allocations: 2.666 MB / 0.5694 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.778e-05/0.3442, allocations: 0 / 0.5694 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002426/0.3445, allocations: 43.69 kB / 0.5694 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002893/0.3473, allocations: 1.108 MB / 0.5705 GB, free: 11.06 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.3477, allocations: 145 kB / 0.5706 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004561/0.3482, allocations: 318.4 kB / 0.5709 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.978e-05/0.3482, allocations: 17.73 kB / 0.571 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.3493, allocations: 0.6606 MB / 0.5716 GB, free: 9.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002919/0.3496, allocations: 159.5 kB / 0.5718 GB, free: 9.773 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.3497, allocations: 8 kB / 0.5718 GB, free: 9.766 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002136/0.3518, allocations: 1.26 MB / 0.573 GB, free: 8.504 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.299e-05/0.3519, allocations: 35.89 kB / 0.573 GB, free: 8.469 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.352, allocations: 87.53 kB / 0.5731 GB, free: 8.383 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008559/0.3528, allocations: 0.5221 MB / 0.5736 GB, free: 7.859 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.3528, allocations: 0 / 0.5736 GB, free: 7.859 MB / 414.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.3528, allocations: 0 / 0.5736 GB, free: 7.859 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.3528, allocations: 0 / 0.5736 GB, free: 7.859 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.0009867/0.3538, allocations: 0.4968 MB / 0.5741 GB, free: 7.332 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.3539, allocations: 11.97 kB / 0.5741 GB, free: 7.32 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.801e-05/0.3539, allocations: 12.12 kB / 0.5741 GB, free: 7.309 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.828e-05/0.3539, allocations: 58.72 kB / 0.5742 GB, free: 7.242 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004473/0.3544, allocations: 44.81 kB / 0.5742 GB, free: 7.199 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.3547, allocations: 154.3 kB / 0.5744 GB, free: 7.023 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.3547, allocations: 23.94 kB / 0.5744 GB, free: 7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.3548, allocations: 12 kB / 0.5744 GB, free: 6.988 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004478/0.3552, allocations: 244.7 kB / 0.5746 GB, free: 6.715 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3552, allocations: 0 / 0.5746 GB, free: 6.715 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/0.3552, allocations: 19.92 kB / 0.5747 GB, free: 6.695 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.3552, allocations: 4 kB / 0.5747 GB, free: 6.691 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003825/0.3556, allocations: 240.5 kB / 0.5749 GB, free: 6.457 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.001386/0.357, allocations: 1.107 MB / 0.576 GB, free: 5.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.3572, allocations: 90.55 kB / 0.5761 GB, free: 5.172 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.866e-05/0.3573, allocations: 36.84 kB / 0.5761 GB, free: 5.133 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008653/0.3582, allocations: 464.4 kB / 0.5765 GB, free: 4.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002541/0.3584, allocations: 173.3 kB / 0.5767 GB, free: 4.453 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.202e-06/0.3584, allocations: 0 / 0.5767 GB, free: 4.453 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009218/0.3593, allocations: 360.4 kB / 0.5771 GB, free: 4.094 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001721/0.3595, allocations: 269 kB / 0.5773 GB, free: 3.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.3597, allocations: 153.8 kB / 0.5775 GB, free: 3.609 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.3597, allocations: 30.45 kB / 0.5775 GB, free: 3.574 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.3598, allocations: 156.2 kB / 0.5776 GB, free: 3.418 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.056e-05/0.3599, allocations: 67.42 kB / 0.5777 GB, free: 3.352 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.012e-05/0.36, allocations: 65.64 kB / 0.5778 GB, free: 3.281 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3601, allocations: 326.8 kB / 0.5781 GB, free: 2.953 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.019e-05/0.3602, allocations: 39.97 kB / 0.5781 GB, free: 2.914 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.3604, allocations: 199.3 kB / 0.5783 GB, free: 2.652 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003309/0.3607, allocations: 250.6 kB / 0.5785 GB, free: 2.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.3607, allocations: 0 / 0.5785 GB, free: 2.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004373/0.3612, allocations: 260.8 kB / 0.5788 GB, free: 2.082 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.3612, allocations: 11.98 kB / 0.5788 GB, free: 2.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.3612, allocations: 4.656 kB / 0.5788 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.3612, allocations: 8 kB / 0.5788 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004672/0.3617, allocations: 100.5 kB / 0.5789 GB, free: 1.961 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003987/0.3621, allocations: 0.5977 MB / 0.5795 GB, free: 1.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.3622, allocations: 11.95 kB / 0.5795 GB, free: 1.328 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-05/0.3623, allocations: 23.98 kB / 0.5795 GB, free: 1.305 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.0001459/0.3624, allocations: 139 kB / 0.5797 GB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.558e-05/0.3625, allocations: 23.84 kB / 0.5797 GB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004586/0.3629, allocations: 232 kB / 0.5799 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3629, allocations: 3.938 kB / 0.5799 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3629, allocations: 0 / 0.5799 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.363, allocations: 4 kB / 0.5799 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004275/0.3634, allocations: 342.8 kB / 0.5802 GB, free: 500 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.3634, allocations: 3.984 kB / 0.5802 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003327/0.3637, allocations: 56 kB / 0.5803 GB, free: 440 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3637, allocations: 0 / 0.5803 GB, free: 440 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.3637, allocations: 7.984 kB / 0.5803 GB, free: 432 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003762/0.3641, allocations: 0.5821 MB / 0.5809 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.3641, allocations: 0 / 0.5809 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.3644, allocations: 150.7 kB / 0.581 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.64e-05/0.3644, allocations: 23.92 kB / 0.581 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.406e-05/0.3645, allocations: 7.953 kB / 0.581 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.3646, allocations: 7.984 kB / 0.5811 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.619e-05/0.3646, allocations: 11.92 kB / 0.5811 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.3646, allocations: 11.98 kB / 0.5811 GB, free: 15.58 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001077/0.3647, allocations: 127.2 kB / 0.5812 GB, free: 15.46 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3647, allocations: 4 kB / 0.5812 GB, free: 15.45 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005105/0.3653, allocations: 143.7 kB / 0.5813 GB, free: 15.31 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.0008939/0.3661, allocations: 0.8167 MB / 0.5821 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004577/0.3666, allocations: 147.9 kB / 0.5823 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3666, allocations: 0 / 0.5823 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001835/0.3668, allocations: 53.22 kB / 0.5823 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.0003966/0.3672, allocations: 63.94 kB / 0.5824 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003363/0.3706, allocations: 2.532 MB / 0.5849 GB, free: 11.45 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.3709, allocations: 0.7128 MB / 0.5856 GB, free: 10.71 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000225/0.3712, allocations: 77.83 kB / 0.5856 GB, free: 10.63 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.3713, allocations: 59.41 kB / 0.5857 GB, free: 10.57 MB / 430.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3713, allocations: 3.938 kB / 0.5857 GB, free: 10.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02831/0.3996, allocations: 6.747 MB / 0.5923 GB, free: 3.949 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/12.82, allocations: 14.98 kB / 0.5923 GB, free: 3.941 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.843546139018144]