Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.001538/0.001538, allocations: 105.1 kB / 21.22 MB, free: 0.6523 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.002111/0.002111, allocations: 212.9 kB / 24.52 MB, free: 3.945 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.396/1.396, allocations: 230.5 MB / 258.2 MB, free: 7.812 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.2182/0.2182, allocations: 46.96 MB / 361.6 MB, free: 3.93 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.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 79.88 kB / 0.4969 GB, free: 7.523 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2947, allocations: 66.07 MB / 0.5615 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006316/0.301, allocations: 4.306 MB / 0.5657 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004619/0.3057, allocations: 3.582 MB / 0.5692 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.3058, allocations: 4 kB / 0.5692 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003439/0.3061, allocations: 51.61 kB / 0.5692 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002038/0.3082, allocations: 0.7422 MB / 0.57 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003498/0.3085, allocations: 131 kB / 0.5701 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006202/0.3092, allocations: 390 kB / 0.5704 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.067e-05/0.3092, allocations: 9.812 kB / 0.5705 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002313/0.3094, allocations: 147.5 kB / 0.5706 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002697/0.3097, allocations: 147.5 kB / 0.5707 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/0.3098, allocations: 8 kB / 0.5707 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009357/0.3107, allocations: 387.5 kB / 0.5711 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.3108, allocations: 51.75 kB / 0.5712 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.3109, allocations: 103.5 kB / 0.5713 GB, free: 9.957 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007544/0.3117, allocations: 456.5 kB / 0.5717 GB, free: 9.512 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3117, allocations: 0 / 0.5717 GB, free: 9.512 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3117, allocations: 0 / 0.5717 GB, free: 9.512 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.3117, allocations: 0 / 0.5717 GB, free: 9.512 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.001169/0.3129, allocations: 0.5285 MB / 0.5722 GB, free: 8.953 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.3129, allocations: 8.031 kB / 0.5722 GB, free: 8.945 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.637e-05/0.3129, allocations: 16.61 kB / 0.5722 GB, free: 8.926 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.632e-05/0.313, allocations: 62.67 kB / 0.5723 GB, free: 8.855 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.3131, allocations: 24.84 kB / 0.5723 GB, free: 8.832 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.3135, allocations: 166.2 kB / 0.5725 GB, free: 8.645 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002016/0.3137, allocations: 226.7 kB / 0.5727 GB, free: 8.375 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.571e-05/0.3137, allocations: 23.94 kB / 0.5727 GB, free: 8.352 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007141/0.3145, allocations: 493 kB / 0.5732 GB, free: 7.805 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.3145, allocations: 4 kB / 0.5732 GB, free: 7.801 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.852e-05/0.3145, allocations: 12 kB / 0.5732 GB, free: 7.789 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.704e-05/0.3145, allocations: 11.98 kB / 0.5732 GB, free: 7.777 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008746/0.3154, allocations: 0.7508 MB / 0.574 GB, free: 7.023 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.001394/0.3168, allocations: 1.081 MB / 0.575 GB, free: 5.875 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003609/0.3172, allocations: 155.7 kB / 0.5752 GB, free: 5.715 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.3173, allocations: 77.48 kB / 0.5752 GB, free: 5.637 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001554/0.3189, allocations: 0.7271 MB / 0.5759 GB, free: 4.891 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.3189, allocations: 34.56 kB / 0.576 GB, free: 4.848 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.783e-06/0.3189, allocations: 0 / 0.576 GB, free: 4.848 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003119/0.3192, allocations: 125.3 kB / 0.5761 GB, free: 4.719 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.3192, allocations: 51.41 kB / 0.5761 GB, free: 4.656 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.3195, allocations: 226 kB / 0.5764 GB, free: 4.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.3195, allocations: 29.7 kB / 0.5764 GB, free: 4.395 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.3196, allocations: 219.5 kB / 0.5766 GB, free: 4.176 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/0.3197, allocations: 55.56 kB / 0.5766 GB, free: 4.121 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.3198, allocations: 78.09 kB / 0.5767 GB, free: 4.039 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3199, allocations: 334.8 kB / 0.577 GB, free: 3.703 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.393e-05/0.32, allocations: 44.84 kB / 0.5771 GB, free: 3.656 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/0.3203, allocations: 343.2 kB / 0.5774 GB, free: 3.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004696/0.3208, allocations: 440.6 kB / 0.5778 GB, free: 2.602 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.3208, allocations: 8 kB / 0.5778 GB, free: 2.594 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005719/0.3214, allocations: 389.9 kB / 0.5782 GB, free: 2.207 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.3214, allocations: 12 kB / 0.5782 GB, free: 2.195 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.3214, allocations: 15.94 kB / 0.5782 GB, free: 2.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.3214, allocations: 15.94 kB / 0.5783 GB, free: 2.164 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.3217, allocations: 99.83 kB / 0.5783 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.784e-05/0.3217, allocations: 15.94 kB / 0.5784 GB, free: 2.051 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/0.3219, allocations: 59.56 kB / 0.5784 GB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.036e-05/0.322, allocations: 31.98 kB / 0.5784 GB, free: 1.961 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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.0001281/0.3221, allocations: 146.7 kB / 0.5786 GB, free: 1.809 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.792e-05/0.3221, allocations: 19.91 kB / 0.5786 GB, free: 1.789 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002795/0.3224, allocations: 145 kB / 0.5787 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.3224, allocations: 0 / 0.5787 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.3224, allocations: 96 / 0.5787 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.3225, allocations: 7.938 kB / 0.5788 GB, free: 1.625 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004921/0.3229, allocations: 380 kB / 0.5791 GB, free: 1.195 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3229, allocations: 0 / 0.5791 GB, free: 1.195 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.952e-05/0.323, allocations: 15.98 kB / 0.5791 GB, free: 1.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.323, allocations: 0 / 0.5791 GB, free: 1.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-06/0.323, allocations: 3.938 kB / 0.5791 GB, free: 1.176 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.323, allocations: 7.938 kB / 0.5791 GB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.323, allocations: 0 / 0.5791 GB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.3233, allocations: 209.8 kB / 0.5793 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.897e-05/0.3233, allocations: 23.83 kB / 0.5794 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/0.3234, allocations: 12.05 kB / 0.5794 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.3235, allocations: 7.984 kB / 0.5794 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.259e-05/0.3235, allocations: 4 kB / 0.5794 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.3235, allocations: 7.984 kB / 0.5794 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001584/0.3237, allocations: 152.5 kB / 0.5795 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3237, allocations: 0 / 0.5795 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005541/0.3243, allocations: 99.86 kB / 0.5796 GB, free: 0.6328 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.0009111/0.3252, allocations: 0.7968 MB / 0.5804 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004367/0.3256, allocations: 165.9 kB / 0.5806 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.3256, allocations: 384 / 0.5806 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.208e-05/0.3257, allocations: 31.98 kB / 0.5806 GB, free: 15.61 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004992/0.3262, allocations: 48.53 kB / 0.5807 GB, free: 15.56 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003782/0.3299, allocations: 2.803 MB / 0.5834 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.3301, allocations: 120.6 kB / 0.5835 GB, free: 12.24 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001932/0.3302, allocations: 50.92 kB / 0.5836 GB, free: 12.19 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.3304, allocations: 59.42 kB / 0.5836 GB, free: 12.13 MB / 430.1 MB Notification: Performance of SimCode: time 1.413e-06/0.3304, allocations: 4 kB / 0.5836 GB, free: 12.13 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02697/0.3574, allocations: 5.635 MB / 0.5891 GB, free: 6.645 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.43, allocations: 0 / 0.5891 GB, free: 6.645 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.418954207911156]