Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.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.001201/0.001201, allocations: 109.1 kB / 21.22 MB, free: 0.6445 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.001329/0.001329, allocations: 209.3 kB / 24.51 MB, free: 3.941 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.382/1.382, allocations: 230.5 MB / 258.2 MB, free: 7.793 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.215/0.215, allocations: 46.96 MB / 361.6 MB, free: 3.922 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.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 75.88 kB / 0.4969 GB, free: 7.523 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2995, allocations: 66.07 MB / 0.5615 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.0216/0.3211, allocations: 18.65 MB / 0.5797 GB, free: 1.293 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006243/0.3273, allocations: 3.995 MB / 0.5836 GB, free: 13.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006382/0.3279, allocations: 27.75 kB / 0.5836 GB, free: 13.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009076/0.3289, allocations: 302 kB / 0.5839 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002305/0.3312, allocations: 0.8823 MB / 0.5847 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002487/0.3336, allocations: 0.9313 MB / 0.5857 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002235/0.3359, allocations: 1.813 MB / 0.5874 GB, free: 9.324 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006633/0.3365, allocations: 393.6 kB / 0.5878 GB, free: 8.938 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001926/0.3385, allocations: 0.9613 MB / 0.5887 GB, free: 7.973 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.3395, allocations: 0.6812 MB / 0.5894 GB, free: 7.289 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.3396, allocations: 63.94 kB / 0.5895 GB, free: 7.227 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006946/0.3403, allocations: 283.7 kB / 0.5897 GB, free: 6.949 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002928/0.3406, allocations: 267.2 kB / 0.59 GB, free: 6.688 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003952/0.341, allocations: 330.6 kB / 0.5903 GB, free: 6.363 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001386/0.3424, allocations: 1.082 MB / 0.5914 GB, free: 5.277 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3424, allocations: 0 / 0.5914 GB, free: 5.277 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3424, allocations: 0 / 0.5914 GB, free: 5.277 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.3424, allocations: 0 / 0.5914 GB, free: 5.277 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002147/0.3445, allocations: 0.9951 MB / 0.5923 GB, free: 4.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.3446, allocations: 8.031 kB / 0.5923 GB, free: 4.242 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.127e-05/0.3446, allocations: 13.19 kB / 0.5924 GB, free: 4.227 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001194/0.3447, allocations: 98.69 kB / 0.5924 GB, free: 4.121 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003411/0.3451, allocations: 96.42 kB / 0.5925 GB, free: 4.027 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007968/0.3459, allocations: 474.7 kB / 0.593 GB, free: 3.539 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/0.346, allocations: 160.3 kB / 0.5931 GB, free: 3.355 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.222e-05/0.3461, allocations: 51.89 kB / 0.5932 GB, free: 3.305 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.3475, allocations: 1.076 MB / 0.5942 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.3475, allocations: 7.938 kB / 0.5943 GB, free: 2.086 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.618e-05/0.3476, allocations: 24 kB / 0.5943 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.794e-05/0.3476, allocations: 40.97 kB / 0.5943 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.3487, allocations: 0.64 MB / 0.5949 GB, free: 1.383 MB / 430.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.004454/0.3532, allocations: 3.418 MB / 0.5983 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008841/0.354, allocations: 387.6 kB / 0.5986 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003415/0.3544, allocations: 197.4 kB / 0.5988 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002709/0.3547, allocations: 52.28 kB / 0.5989 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.3547, allocations: 42.89 kB / 0.5989 GB, free: 13.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 1.883e-06/0.3547, allocations: 0 / 0.5989 GB, free: 13.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003128/0.3578, allocations: 1.455 MB / 0.6004 GB, free: 11.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.514e-05/0.3579, allocations: 136.5 kB / 0.6005 GB, free: 11.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007321/0.3587, allocations: 0.5732 MB / 0.601 GB, free: 10.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.624e-05/0.3587, allocations: 33.7 kB / 0.6011 GB, free: 10.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002855/0.359, allocations: 363.9 kB / 0.6014 GB, free: 10.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/0.3591, allocations: 174.5 kB / 0.6016 GB, free: 10.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002044/0.3594, allocations: 134.6 kB / 0.6017 GB, free: 10.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.3595, allocations: 378.7 kB / 0.6021 GB, free: 9.832 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000381/0.3599, allocations: 229.8 kB / 0.6023 GB, free: 9.605 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006771/0.3606, allocations: 0.5962 MB / 0.6029 GB, free: 8.852 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.3617, allocations: 0.7796 MB / 0.6036 GB, free: 7.945 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.3617, allocations: 3.938 kB / 0.6036 GB, free: 7.941 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001781/0.3635, allocations: 0.9335 MB / 0.6046 GB, free: 7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.3635, allocations: 12 kB / 0.6046 GB, free: 6.988 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.3635, allocations: 12 kB / 0.6046 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/0.3646, allocations: 271.5 kB / 0.6048 GB, free: 6.711 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004203/0.365, allocations: 127.8 kB / 0.605 GB, free: 6.586 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009819/0.366, allocations: 0.8606 MB / 0.6058 GB, free: 5.699 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004329/0.3665, allocations: 31.98 kB / 0.6058 GB, free: 5.668 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.205e-05/0.3665, allocations: 36 kB / 0.6059 GB, free: 5.633 MB / 446.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: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003292/0.3668, allocations: 247.5 kB / 0.6061 GB, free: 5.383 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.367, allocations: 67.58 kB / 0.6062 GB, free: 5.316 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/0.3683, allocations: 0.7144 MB / 0.6069 GB, free: 4.602 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.3683, allocations: 7.938 kB / 0.6069 GB, free: 4.594 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3683, allocations: 0 / 0.6069 GB, free: 4.594 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.3683, allocations: 7.984 kB / 0.6069 GB, free: 4.586 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002105/0.3704, allocations: 1.297 MB / 0.6081 GB, free: 3.211 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.3704, allocations: 4 kB / 0.6081 GB, free: 3.207 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009478/0.3714, allocations: 187.8 kB / 0.6083 GB, free: 3.023 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002402/0.3716, allocations: 64.95 kB / 0.6084 GB, free: 2.957 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/0.3717, allocations: 8 kB / 0.6084 GB, free: 2.949 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002391/0.3741, allocations: 2.777 MB / 0.6111 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3741, allocations: 0 / 0.6111 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.3756, allocations: 1.009 MB / 0.6121 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002885/0.3759, allocations: 131.4 kB / 0.6122 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.204e-05/0.376, allocations: 12 kB / 0.6122 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003548/0.3764, allocations: 12 kB / 0.6122 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.89e-05/0.3765, allocations: 51.92 kB / 0.6123 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.683e-05/0.3765, allocations: 20 kB / 0.6123 GB, free: 14.67 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005269/0.377, allocations: 423 kB / 0.6127 GB, free: 14.25 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.377, allocations: 0 / 0.6127 GB, free: 14.25 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007644/0.3778, allocations: 207.9 kB / 0.6129 GB, free: 14.05 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002192/0.38, allocations: 1.654 MB / 0.6145 GB, free: 12.34 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.3811, allocations: 0.5893 MB / 0.6151 GB, free: 11.75 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3812, allocations: 3.938 kB / 0.6151 GB, free: 11.75 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.3823, allocations: 474 kB / 0.6156 GB, free: 11.27 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/0.3839, allocations: 380.3 kB / 0.6159 GB, free: 10.92 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009654/0.3936, allocations: 6.55 MB / 0.6223 GB, free: 3.973 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.3939, allocations: 345.4 kB / 0.6226 GB, free: 3.609 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006751/0.3946, allocations: 198.7 kB / 0.6228 GB, free: 3.426 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003458/0.395, allocations: 231.4 kB / 0.6231 GB, free: 3.199 MB / 462.1 MB Notification: Performance of SimCode: time 5.91e-07/0.395, allocations: 4 kB / 0.6231 GB, free: 3.195 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05304/0.448, allocations: 23.38 MB / 0.6459 GB, free: 12.19 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.02, allocations: 4.062 kB / 0.6459 GB, free: 12.18 MB / 494.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.14467535202857]