Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.001726/0.001726, 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.002134/0.002134, allocations: 215.5 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.489/1.489, allocations: 230.5 MB / 257.4 MB, free: 7.762 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.2241/0.2241, allocations: 46.96 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.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00245/0.00245, allocations: 83.88 kB / 0.4962 GB, free: 7.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3192, allocations: 66.08 MB / 0.5607 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006917/0.3262, allocations: 4.69 MB / 0.5653 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005139/0.3313, allocations: 4.088 MB / 0.5693 GB, free: 11.19 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.3314, allocations: 0 / 0.5693 GB, free: 11.19 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.3317, allocations: 51.62 kB / 0.5693 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001797/0.3335, allocations: 0.6798 MB / 0.57 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003892/0.3339, allocations: 158.4 kB / 0.5702 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005497/0.3345, allocations: 374.1 kB / 0.5705 GB, free: 9.938 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.464e-05/0.3345, allocations: 21.8 kB / 0.5705 GB, free: 9.914 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002436/0.3348, allocations: 151.5 kB / 0.5707 GB, free: 9.766 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.335, allocations: 123.5 kB / 0.5708 GB, free: 9.645 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.91e-05/0.335, allocations: 8 kB / 0.5708 GB, free: 9.637 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007454/0.3357, allocations: 319.6 kB / 0.5711 GB, free: 9.324 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.237e-05/0.3358, allocations: 51.75 kB / 0.5712 GB, free: 9.273 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.3359, allocations: 91.64 kB / 0.5713 GB, free: 9.184 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006493/0.3366, allocations: 432.4 kB / 0.5717 GB, free: 8.762 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3366, allocations: 3.938 kB / 0.5717 GB, free: 8.758 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3366, allocations: 8 kB / 0.5717 GB, free: 8.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3366, allocations: 0 / 0.5717 GB, free: 8.75 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0009694/0.3376, allocations: 0.5207 MB / 0.5722 GB, free: 8.199 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3376, allocations: 8.031 kB / 0.5722 GB, free: 8.191 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.449e-05/0.3377, allocations: 62.73 kB / 0.5723 GB, free: 8.121 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.3378, allocations: 24.84 kB / 0.5723 GB, free: 8.098 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.3381, allocations: 170.2 kB / 0.5724 GB, free: 7.906 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001942/0.3383, allocations: 234.7 kB / 0.5727 GB, free: 7.625 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.3384, allocations: 24.12 kB / 0.5727 GB, free: 7.602 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006448/0.339, allocations: 0.5066 MB / 0.5732 GB, free: 7.027 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.339, allocations: 0 / 0.5732 GB, free: 7.027 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/0.3391, allocations: 12 kB / 0.5732 GB, free: 7.016 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/0.3391, allocations: 4 kB / 0.5732 GB, free: 7.012 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008971/0.34, allocations: 0.7118 MB / 0.5739 GB, free: 6.297 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.001441/0.3414, allocations: 1.088 MB / 0.575 GB, free: 5.145 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003273/0.3417, allocations: 135.5 kB / 0.5751 GB, free: 5.004 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.3419, allocations: 72.81 kB / 0.5752 GB, free: 4.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001348/0.3433, allocations: 0.64 MB / 0.5758 GB, free: 4.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.779e-05/0.3433, allocations: 34.56 kB / 0.5758 GB, free: 4.227 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.3433, allocations: 11.94 kB / 0.5758 GB, free: 4.215 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007121/0.344, allocations: 228.3 kB / 0.576 GB, free: 3.988 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.3441, allocations: 51.41 kB / 0.5761 GB, free: 3.926 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/0.3443, allocations: 234.7 kB / 0.5763 GB, free: 3.688 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.3443, allocations: 25.7 kB / 0.5763 GB, free: 3.656 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.3445, allocations: 223.5 kB / 0.5765 GB, free: 3.434 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/0.3445, allocations: 55.53 kB / 0.5766 GB, free: 3.379 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.957e-05/0.3446, allocations: 78.08 kB / 0.5767 GB, free: 3.297 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.3448, allocations: 330.8 kB / 0.577 GB, free: 2.965 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.187e-05/0.3449, allocations: 52.84 kB / 0.577 GB, free: 2.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003147/0.3452, allocations: 316.1 kB / 0.5773 GB, free: 2.477 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004836/0.3457, allocations: 415.5 kB / 0.5777 GB, free: 1.941 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3457, allocations: 0 / 0.5777 GB, free: 1.941 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005791/0.3462, allocations: 377.7 kB / 0.5781 GB, free: 1.566 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.3463, allocations: 8 kB / 0.5781 GB, free: 1.559 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.3463, allocations: 8 kB / 0.5781 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/0.3463, allocations: 23.88 kB / 0.5781 GB, free: 1.527 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/0.3467, allocations: 107.8 kB / 0.5782 GB, free: 1.422 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.159e-05/0.3467, allocations: 15.94 kB / 0.5783 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.3469, allocations: 12 kB / 0.5783 GB, free: 1.395 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.212e-05/0.3469, allocations: 31.98 kB / 0.5783 GB, free: 1.363 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001485/0.3471, allocations: 153.7 kB / 0.5784 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.681e-05/0.3472, allocations: 19.91 kB / 0.5785 GB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003233/0.3475, allocations: 146.9 kB / 0.5786 GB, free: 1.031 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/0.3475, allocations: 7.938 kB / 0.5786 GB, free: 1.023 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3475, allocations: 4 kB / 0.5786 GB, free: 1.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3475, allocations: 0 / 0.5786 GB, free: 1.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005921/0.3481, allocations: 402.3 kB / 0.579 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3481, allocations: 7.938 kB / 0.579 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.3483, allocations: 27.98 kB / 0.579 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.3483, allocations: 0 / 0.579 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.3483, allocations: 4 kB / 0.579 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.3483, allocations: 7.938 kB / 0.579 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3483, allocations: 0 / 0.579 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.3485, allocations: 220 kB / 0.5793 GB, free: 304 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.227e-05/0.3486, allocations: 35.81 kB / 0.5793 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.3486, allocations: 4 kB / 0.5793 GB, free: 264 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.3488, allocations: 16.11 kB / 0.5793 GB, free: 248 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.3489, allocations: 7.984 kB / 0.5793 GB, free: 240 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.3489, allocations: 8 kB / 0.5793 GB, free: 232 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001602/0.349, allocations: 152.5 kB / 0.5795 GB, free: 80 kB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.349, allocations: 0 / 0.5795 GB, free: 80 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005057/0.3495, allocations: 99.86 kB / 0.5796 GB, free: 15.98 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007939/0.3503, allocations: 0.8221 MB / 0.5804 GB, free: 15.13 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003244/0.3507, allocations: 177.4 kB / 0.5805 GB, free: 14.96 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.3507, allocations: 4 kB / 0.5805 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.228e-05/0.3507, allocations: 32.48 kB / 0.5806 GB, free: 14.92 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.3512, allocations: 51.83 kB / 0.5806 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0033/0.3545, allocations: 2.716 MB / 0.5833 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.3546, allocations: 120.6 kB / 0.5834 GB, free: 11.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000205/0.3548, allocations: 58.78 kB / 0.5834 GB, free: 11.62 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.3549, allocations: 59.42 kB / 0.5835 GB, free: 11.57 MB / 430.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3549, allocations: 0 / 0.5835 GB, free: 11.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03186/0.3868, allocations: 6.302 MB / 0.5897 GB, free: 5.391 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.31, allocations: 6.422 kB / 0.5897 GB, free: 5.391 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.311109979636967]