Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 166.2 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.423/1.423, allocations: 177.2 MB / 204.9 MB, free: 9.031 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 55.92 kB / 325.5 MB, free: 272 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09451/0.09608, allocations: 53.33 MB / 378.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.0066/0.1027, allocations: 4.273 MB / 383.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002191/0.1049, allocations: 1.615 MB / 384.8 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.915e-05/0.105, allocations: 7.938 kB / 384.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002897/0.1052, allocations: 39.75 kB / 384.8 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004247/0.1057, allocations: 127.2 kB / 384.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007996/0.1065, allocations: 255.2 kB / 385.2 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004135/0.1069, allocations: 294.8 kB / 385.5 MB, free: 9.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.523e-05/0.1069, allocations: 21.28 kB / 385.5 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002853/0.1072, allocations: 131.6 kB / 385.6 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.1074, allocations: 79.66 kB / 385.7 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.396e-05/0.1074, allocations: 8 kB / 385.7 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002555/0.1077, allocations: 99.88 kB / 385.8 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.64e-05/0.1077, allocations: 39.83 kB / 385.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.1079, allocations: 67.78 kB / 385.9 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003761/0.1082, allocations: 223.2 kB / 386.1 MB, free: 8.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1082, allocations: 0 / 386.1 MB, free: 8.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1082, allocations: 0 / 386.1 MB, free: 8.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1082, allocations: 0 / 386.1 MB, free: 8.41 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001001/0.1092, allocations: 421.8 kB / 386.5 MB, free: 7.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.1093, allocations: 8.031 kB / 386.6 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/0.1095, allocations: 20.89 kB / 386.6 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003359/0.1098, allocations: 154.3 kB / 386.7 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.1098, allocations: 12.66 kB / 386.7 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.703e-05/0.1099, allocations: 16.38 kB / 386.7 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005363/0.1104, allocations: 375.8 kB / 387.1 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.1104, allocations: 0 / 387.1 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.1105, allocations: 12 kB / 387.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.1105, allocations: 4 kB / 387.1 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003811/0.1108, allocations: 155.8 kB / 387.3 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.1122, allocations: 0.8445 MB / 388.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004311/0.1127, allocations: 142.8 kB / 388.3 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.1128, allocations: 52.83 kB / 388.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005009/0.1133, allocations: 336 kB / 388.6 MB, free: 5.695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.1134, allocations: 38.56 kB / 388.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.1134, allocations: 0 / 388.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002713/0.1161, allocations: 0.692 MB / 389.4 MB, free: 4.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.1161, allocations: 55.39 kB / 389.4 MB, free: 4.855 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.1163, allocations: 161.5 kB / 389.6 MB, free: 4.691 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.1163, allocations: 33.7 kB / 389.6 MB, free: 4.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.827e-05/0.1164, allocations: 140.1 kB / 389.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.991e-05/0.1165, allocations: 75.36 kB / 389.8 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.661e-05/0.1166, allocations: 57.66 kB / 389.9 MB, free: 4.375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1167, allocations: 330.8 kB / 390.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.117, allocations: 75.95 kB / 390.3 MB, free: 3.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003555/0.1174, allocations: 202.6 kB / 390.5 MB, free: 3.723 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006502/0.118, allocations: 289.5 kB / 390.8 MB, free: 3.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.118, allocations: 4 kB / 390.8 MB, free: 3.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007855/0.1188, allocations: 328.3 kB / 391.1 MB, free: 3.062 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.1188, allocations: 8 kB / 391.1 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.1188, allocations: 4 kB / 391.1 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.1189, allocations: 11.97 kB / 391.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004098/0.1193, allocations: 83.89 kB / 391.2 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.1193, allocations: 7.938 kB / 391.2 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.1195, allocations: 15.98 kB / 391.2 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-05/0.1196, allocations: 12.09 kB / 391.2 MB, free: 2.922 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 37 * 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 prepare postOptimizeDAE: time 0.000147/0.1197, allocations: 138.4 kB / 391.4 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.087e-05/0.1198, allocations: 23.83 kB / 391.4 MB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007196/0.1205, allocations: 241.8 kB / 391.6 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.1205, allocations: 4 kB / 391.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1205, allocations: 3.984 kB / 391.6 MB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1205, allocations: 4 kB / 391.6 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.1219, allocations: 0.5319 MB / 392.2 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.1219, allocations: 4 kB / 392.2 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003101/0.1222, allocations: 52.08 kB / 392.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.1222, allocations: 4 kB / 392.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.1222, allocations: 4 kB / 392.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.1222, allocations: 4 kB / 392.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.1222, allocations: 7.938 kB / 392.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000934/0.1232, allocations: 407.1 kB / 392.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.028e-05/0.1233, allocations: 27.91 kB / 392.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.624e-05/0.1233, allocations: 8 kB / 392.7 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.1236, allocations: 15.98 kB / 392.7 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.05e-05/0.1236, allocations: 15.86 kB / 392.7 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.1236, allocations: 15.98 kB / 392.7 MB, free: 1.344 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001028/0.1237, allocations: 115.1 kB / 392.8 MB, free: 1.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1237, allocations: 4.062 kB / 392.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004057/0.1241, allocations: 63.94 kB / 392.9 MB, free: 1.164 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (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 (20): * Single equations (assignments): 20 * 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.0001914/0.1243, allocations: 115.2 kB / 393 MB, free: 1.039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006447/0.125, allocations: 215.6 kB / 393.2 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.125, allocations: 0 / 393.2 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002829/0.1252, allocations: 85.06 kB / 393.3 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.1257, allocations: 39.95 kB / 393.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.1268, allocations: 485.2 kB / 393.8 MB, free: 200 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.1269, allocations: 111.3 kB / 393.9 MB, free: 64 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002145/0.1271, allocations: 49.83 kB / 394 MB, free: 16 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.1272, allocations: 24.53 kB / 394 MB, free: 15.99 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1272, allocations: 0 / 394 MB, free: 15.99 MB / 366.1 MB Notification: Performance of Templates: time 0.006747/0.134, allocations: 2.692 MB / 396.7 MB, free: 13.34 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.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: 4.218814608058892]