Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001023/0.001023, allocations: 103.9 kB / 17.63 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001155/0.001155, allocations: 210.5 kB / 18.58 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 246.8 MB, free: 10.67 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 57.06 kB / 307 MB, free: 0.5664 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1044, allocations: 50.55 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.006719/0.1112, allocations: 3.667 MB / 361.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002348/0.1136, allocations: 1.012 MB / 362.3 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000805/0.1144, allocations: 4 kB / 362.3 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005876/0.1151, allocations: 107.1 kB / 362.4 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.1161, allocations: 202.3 kB / 362.6 MB, free: 9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004994/0.1166, allocations: 127.8 kB / 362.7 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001222/0.1179, allocations: 0.6884 MB / 363.4 MB, free: 8.188 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000415/0.1183, allocations: 194.5 kB / 363.6 MB, free: 7.992 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004881/0.1188, allocations: 251.1 kB / 363.8 MB, free: 7.746 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004538/0.1193, allocations: 294.8 kB / 364.1 MB, free: 7.457 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.1194, allocations: 59.94 kB / 364.2 MB, free: 7.398 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.1196, allocations: 60 kB / 364.2 MB, free: 7.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.1197, allocations: 123.6 kB / 364.3 MB, free: 7.219 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003649/0.1201, allocations: 318.5 kB / 364.7 MB, free: 6.906 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007157/0.1208, allocations: 0.6774 MB / 365.3 MB, free: 6.227 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1208, allocations: 0 / 365.3 MB, free: 6.227 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1208, allocations: 0 / 365.3 MB, free: 6.227 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.244e-05/0.1209, allocations: 0 / 365.3 MB, free: 6.227 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.002401/0.1233, allocations: 0.8971 MB / 366.2 MB, free: 5.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.1233, allocations: 12.03 kB / 366.2 MB, free: 5.258 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001537/0.1235, allocations: 79.28 kB / 366.3 MB, free: 5.172 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.1236, allocations: 68.27 kB / 366.4 MB, free: 5.105 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007338/0.1244, allocations: 430.4 kB / 366.8 MB, free: 4.648 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002061/0.1246, allocations: 86.81 kB / 366.9 MB, free: 4.559 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.54e-05/0.1247, allocations: 36.38 kB / 366.9 MB, free: 4.523 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008476/0.1255, allocations: 0.4992 MB / 367.4 MB, free: 3.973 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.1255, allocations: 0 / 367.4 MB, free: 3.973 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.869e-05/0.1256, allocations: 12 kB / 367.4 MB, free: 3.961 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.1256, allocations: 11.98 kB / 367.4 MB, free: 3.949 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008774/0.1265, allocations: 366.4 kB / 367.8 MB, free: 3.594 MB / 302.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.001926/0.1284, allocations: 1.31 MB / 369.1 MB, free: 2.191 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006911/0.1291, allocations: 391.3 kB / 369.5 MB, free: 1.781 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004267/0.1296, allocations: 196.8 kB / 369.7 MB, free: 1.586 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.1296, allocations: 7.984 kB / 369.7 MB, free: 1.578 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.1297, allocations: 38.56 kB / 369.7 MB, free: 1.531 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.463e-06/0.1297, allocations: 0 / 369.7 MB, free: 1.531 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001616/0.1313, allocations: 0.7704 MB / 370.5 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001686/0.1315, allocations: 445 kB / 370.9 MB, free: 176 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1761/0.3076, allocations: 456 kB / 371.4 MB, free: 20.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001217/0.3077, allocations: 33.05 kB / 371.4 MB, free: 20.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.3079, allocations: 246.6 kB / 371.7 MB, free: 20.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.3081, allocations: 120.9 kB / 371.8 MB, free: 20.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.3082, allocations: 79.02 kB / 371.9 MB, free: 20.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.127e-05/0.3083, allocations: 356.2 kB / 372.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004661/0.3088, allocations: 155.1 kB / 372.4 MB, free: 19.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005175/0.3093, allocations: 295.3 kB / 372.6 MB, free: 19.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008304/0.3101, allocations: 361.5 kB / 373 MB, free: 19.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.3102, allocations: 0 / 373 MB, free: 19.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00111/0.3113, allocations: 0.5025 MB / 373.5 MB, free: 19.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.074e-05/0.3113, allocations: 32 kB / 373.5 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3113, allocations: 4.766 kB / 373.5 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001624/0.3115, allocations: 55.48 kB / 373.6 MB, free: 19.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000415/0.3119, allocations: 95.23 kB / 373.7 MB, free: 19.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/0.3137, allocations: 2.963 MB / 376.6 MB, free: 16.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004285/0.3141, allocations: 57.78 kB / 376.7 MB, free: 16.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.3142, allocations: 13.25 kB / 376.7 MB, free: 16.66 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001979/0.3144, allocations: 170.6 kB / 376.9 MB, free: 16.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.367e-05/0.3145, allocations: 50.34 kB / 376.9 MB, free: 16.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.879e-05/0.3146, allocations: 55.89 kB / 377 MB, free: 16.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3146, allocations: 7.656 kB / 377 MB, free: 16.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3146, allocations: 1.875 kB / 377 MB, free: 16.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009126/0.3155, allocations: 0.7536 MB / 377.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.317, allocations: 1.044 MB / 378.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3171, allocations: 1.312 kB / 378.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004363/0.3175, allocations: 98.97 kB / 378.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3175, allocations: 1.344 kB / 378.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.3175, allocations: 6.859 kB / 378.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.3176, allocations: 1.375 kB / 378.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3176, allocations: 1.469 kB / 378.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.3188, allocations: 0.6993 MB / 379.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.319, allocations: 164.2 kB / 379.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.45e-05/0.3191, allocations: 12.28 kB / 379.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003642/0.3194, allocations: 31.62 kB / 379.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.435e-05/0.3195, allocations: 22.19 kB / 379.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.3195, allocations: 15.22 kB / 379.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003026/0.3198, allocations: 321.5 kB / 380.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3199, allocations: 0 / 380.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004158/0.3203, allocations: 141 kB / 380.3 MB, free: 14.52 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (35): * Single equations (assignments): 35 * Array equations: 0 * 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.001449/0.3217, allocations: 1.239 MB / 381.5 MB, free: 13.65 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.323, allocations: 0.6797 MB / 382.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.323, allocations: 1.188 kB / 382.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004184/0.3234, allocations: 192.6 kB / 382.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006894/0.3241, allocations: 138.3 kB / 382.5 MB, free: 13.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006411/0.3305, allocations: 4.747 MB / 387.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.3308, allocations: 0.8273 MB / 388.1 MB, free: 9.727 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002823/0.3311, allocations: 67.48 kB / 388.2 MB, free: 9.715 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.3314, allocations: 170.7 kB / 388.3 MB, free: 9.594 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3314, allocations: 0 / 388.3 MB, free: 9.594 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05213/0.3835, allocations: 13.51 MB / 401.9 MB, free: 2.18 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.33, allocations: 16.69 kB / 401.9 MB, free: 2.164 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches