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.001318/0.001318, allocations: 107.1 kB / 20.44 MB, free: 1.328 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.001451/0.001451, allocations: 202 kB / 23.72 MB, free: 4.5 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.446/1.446, allocations: 230.5 MB / 257.4 MB, free: 7.703 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.2235/0.2235, allocations: 46.95 MB / 360.8 MB, free: 3.91 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00236/0.00236, allocations: 79.88 kB / 0.4962 GB, free: 7.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3227, allocations: 66.07 MB / 0.5607 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.007559/0.3303, allocations: 4.981 MB / 0.5656 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003051/0.3333, allocations: 2.367 MB / 0.5679 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.873e-05/0.3334, allocations: 0 / 0.5679 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.3337, allocations: 39.7 kB / 0.5679 GB, free: 12.6 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003026/0.3367, allocations: 1.148 MB / 0.5691 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003632/0.3371, allocations: 154.1 kB / 0.5692 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000478/0.3375, allocations: 306.4 kB / 0.5695 GB, free: 11 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.736e-05/0.3376, allocations: 9.75 kB / 0.5695 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001218/0.3388, allocations: 0.754 MB / 0.5702 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002733/0.3391, allocations: 159.5 kB / 0.5704 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.3391, allocations: 7.938 kB / 0.5704 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002221/0.3413, allocations: 1.33 MB / 0.5717 GB, free: 8.738 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.533e-05/0.3414, allocations: 39.77 kB / 0.5717 GB, free: 8.699 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.398e-05/0.3415, allocations: 71.72 kB / 0.5718 GB, free: 8.629 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008735/0.3424, allocations: 0.5181 MB / 0.5723 GB, free: 8.109 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3424, allocations: 0 / 0.5723 GB, free: 8.109 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3424, allocations: 0 / 0.5723 GB, free: 8.109 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.3424, allocations: 7.938 kB / 0.5723 GB, free: 8.102 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.0009819/0.3434, allocations: 0.4967 MB / 0.5728 GB, free: 7.574 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.3434, allocations: 12.03 kB / 0.5728 GB, free: 7.562 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.931e-05/0.3435, allocations: 50.73 kB / 0.5729 GB, free: 7.504 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004382/0.3439, allocations: 48.81 kB / 0.5729 GB, free: 7.457 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.3442, allocations: 150.3 kB / 0.573 GB, free: 7.285 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.3442, allocations: 20.12 kB / 0.5731 GB, free: 7.266 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.3443, allocations: 20 kB / 0.5731 GB, free: 7.246 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004826/0.3448, allocations: 318 kB / 0.5734 GB, free: 6.883 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.3448, allocations: 3.938 kB / 0.5734 GB, free: 6.879 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.3448, allocations: 8 kB / 0.5734 GB, free: 6.871 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.3448, allocations: 8 kB / 0.5734 GB, free: 6.863 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000428/0.3452, allocations: 228.6 kB / 0.5736 GB, free: 6.641 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.001289/0.3465, allocations: 1.049 MB / 0.5747 GB, free: 5.523 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.3467, allocations: 78.61 kB / 0.5747 GB, free: 5.438 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.259e-05/0.3468, allocations: 40.84 kB / 0.5748 GB, free: 5.395 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008665/0.3477, allocations: 452.4 kB / 0.5752 GB, free: 4.934 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002825/0.348, allocations: 196.6 kB / 0.5754 GB, free: 4.695 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.623e-06/0.348, allocations: 0 / 0.5754 GB, free: 4.695 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009754/0.3489, allocations: 369.5 kB / 0.5757 GB, free: 4.328 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001749/0.3491, allocations: 265 kB / 0.576 GB, free: 4.008 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.3493, allocations: 161.6 kB / 0.5761 GB, free: 3.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.3493, allocations: 29.64 kB / 0.5762 GB, free: 3.805 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.3494, allocations: 144.2 kB / 0.5763 GB, free: 3.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.567e-05/0.3495, allocations: 75.41 kB / 0.5764 GB, free: 3.586 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.269e-05/0.3496, allocations: 61.69 kB / 0.5764 GB, free: 3.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3497, allocations: 326.8 kB / 0.5768 GB, free: 3.191 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.902e-05/0.3498, allocations: 39.92 kB / 0.5768 GB, free: 3.152 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.35, allocations: 191.6 kB / 0.577 GB, free: 2.898 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003292/0.3504, allocations: 257.4 kB / 0.5772 GB, free: 2.582 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3504, allocations: 4 kB / 0.5772 GB, free: 2.578 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004615/0.3508, allocations: 265.1 kB / 0.5775 GB, free: 2.312 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.3509, allocations: 9.719 kB / 0.5775 GB, free: 2.305 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.3509, allocations: 8.656 kB / 0.5775 GB, free: 2.297 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.3509, allocations: 12 kB / 0.5775 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004739/0.3514, allocations: 95.81 kB / 0.5776 GB, free: 2.191 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004195/0.3518, allocations: 0.5976 MB / 0.5782 GB, free: 1.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.3519, allocations: 19.89 kB / 0.5782 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.663e-05/0.352, allocations: 16 kB / 0.5782 GB, free: 1.535 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.0001483/0.3521, allocations: 133.7 kB / 0.5783 GB, free: 1.395 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.494e-05/0.3522, allocations: 23.94 kB / 0.5784 GB, free: 1.371 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004821/0.3526, allocations: 232 kB / 0.5786 GB, free: 1.117 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.3526, allocations: 0 / 0.5786 GB, free: 1.117 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.3527, allocations: 3.938 kB / 0.5786 GB, free: 1.113 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3527, allocations: 7.984 kB / 0.5786 GB, free: 1.105 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004632/0.3531, allocations: 326.8 kB / 0.5789 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3531, allocations: 0 / 0.5789 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003299/0.3535, allocations: 51.89 kB / 0.579 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.3535, allocations: 7.938 kB / 0.579 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.3535, allocations: 4 kB / 0.579 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000359/0.3538, allocations: 0.5902 MB / 0.5795 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.3538, allocations: 4 kB / 0.5795 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.3541, allocations: 154.5 kB / 0.5797 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.414e-05/0.3541, allocations: 19.94 kB / 0.5797 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.265e-05/0.3542, allocations: 7.938 kB / 0.5797 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.3543, allocations: 4 kB / 0.5797 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.3543, allocations: 11.98 kB / 0.5797 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.3544, allocations: 8 kB / 0.5797 GB, free: 15.83 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.3545, allocations: 127.2 kB / 0.5799 GB, free: 15.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3545, allocations: 4.094 kB / 0.5799 GB, free: 15.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000568/0.3551, allocations: 143.6 kB / 0.58 GB, free: 15.56 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.0009669/0.356, allocations: 0.8285 MB / 0.5808 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005059/0.3565, allocations: 148.7 kB / 0.581 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3565, allocations: 0 / 0.581 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.3567, allocations: 60.14 kB / 0.581 GB, free: 14.49 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.3571, allocations: 43.95 kB / 0.5811 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003444/0.3606, allocations: 2.542 MB / 0.5835 GB, free: 11.69 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.3607, allocations: 110.4 kB / 0.5836 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000234/0.361, allocations: 73.7 kB / 0.5837 GB, free: 11.48 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.3611, allocations: 55.41 kB / 0.5838 GB, free: 11.43 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3611, allocations: 0 / 0.5838 GB, free: 11.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03611/0.3972, allocations: 7.252 MB / 0.5909 GB, free: 4.312 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/12.86, allocations: 7.312 kB / 0.5909 GB, free: 4.309 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.784401559270918]