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.001428/0.001428, allocations: 113.1 kB / 21.19 MB, free: 0.7773 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.001599/0.001599, allocations: 210.1 kB / 24.49 MB, free: 4.164 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.34/1.34, allocations: 230.5 MB / 258.2 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 179] 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.2097/0.2097, allocations: 46.93 MB / 361.5 MB, free: 4.172 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: translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002248, allocations: 80.16 kB / 0.4975 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2688, allocations: 66.08 MB / 0.562 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005883/0.2747, allocations: 4.655 MB / 0.5665 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004287/0.279, allocations: 4.037 MB / 0.5705 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.951e-05/0.279, allocations: 0 / 0.5705 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002468/0.2793, allocations: 55.66 kB / 0.5705 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001456/0.2807, allocations: 0.7422 MB / 0.5713 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.281, allocations: 134.2 kB / 0.5714 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004964/0.2815, allocations: 386 kB / 0.5717 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.025e-05/0.2816, allocations: 9.812 kB / 0.5718 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001902/0.2818, allocations: 147.5 kB / 0.5719 GB, free: 10 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.282, allocations: 151.4 kB / 0.572 GB, free: 9.855 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.282, allocations: 8 kB / 0.5721 GB, free: 9.848 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007851/0.2828, allocations: 443.4 kB / 0.5725 GB, free: 9.414 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.992e-05/0.2829, allocations: 47.77 kB / 0.5725 GB, free: 9.367 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.283, allocations: 107.5 kB / 0.5726 GB, free: 9.262 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006634/0.2837, allocations: 472.9 kB / 0.5731 GB, free: 8.805 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.2837, allocations: 0 / 0.5731 GB, free: 8.805 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2837, allocations: 0 / 0.5731 GB, free: 8.805 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.2837, allocations: 0 / 0.5731 GB, free: 8.805 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.001034/0.2847, allocations: 0.5363 MB / 0.5736 GB, free: 8.238 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.2847, allocations: 8.031 kB / 0.5736 GB, free: 8.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.2849, allocations: 24.84 kB / 0.5736 GB, free: 8.207 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.2852, allocations: 170.2 kB / 0.5738 GB, free: 8.016 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001826/0.2854, allocations: 226.7 kB / 0.574 GB, free: 7.742 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.2854, allocations: 24.38 kB / 0.574 GB, free: 7.719 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004865/0.2859, allocations: 334.8 kB / 0.5743 GB, free: 7.367 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.2859, allocations: 0 / 0.5743 GB, free: 7.367 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.2859, allocations: 12 kB / 0.5744 GB, free: 7.355 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/0.2859, allocations: 15.97 kB / 0.5744 GB, free: 7.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000819/0.2868, allocations: 0.7586 MB / 0.5751 GB, free: 6.578 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.001366/0.2881, allocations: 1.276 MB / 0.5764 GB, free: 5.191 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/0.2884, allocations: 155.8 kB / 0.5765 GB, free: 5.031 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.2886, allocations: 85.41 kB / 0.5766 GB, free: 4.945 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001428/0.29, allocations: 0.7349 MB / 0.5773 GB, free: 4.191 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.29, allocations: 30.56 kB / 0.5773 GB, free: 4.152 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.29, allocations: 0 / 0.5773 GB, free: 4.152 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002814/0.2903, allocations: 129.3 kB / 0.5775 GB, free: 4.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.2903, allocations: 51.41 kB / 0.5775 GB, free: 3.957 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.2905, allocations: 226 kB / 0.5777 GB, free: 3.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.2906, allocations: 29.7 kB / 0.5778 GB, free: 3.695 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.2907, allocations: 223.5 kB / 0.578 GB, free: 3.473 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.2907, allocations: 51.62 kB / 0.578 GB, free: 3.422 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.093e-05/0.2908, allocations: 78.09 kB / 0.5781 GB, free: 3.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.291, allocations: 330.8 kB / 0.5784 GB, free: 3.008 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.788e-05/0.2911, allocations: 48.78 kB / 0.5785 GB, free: 2.957 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/0.2913, allocations: 339.2 kB / 0.5788 GB, free: 2.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004643/0.2918, allocations: 452.5 kB / 0.5792 GB, free: 1.891 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.2918, allocations: 4 kB / 0.5792 GB, free: 1.887 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005408/0.2924, allocations: 381.7 kB / 0.5796 GB, free: 1.508 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.2924, allocations: 16.25 kB / 0.5796 GB, free: 1.492 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.2924, allocations: 11.98 kB / 0.5796 GB, free: 1.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/0.2924, allocations: 19.94 kB / 0.5796 GB, free: 1.461 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.2927, allocations: 95.83 kB / 0.5797 GB, free: 1.367 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.038e-05/0.2927, allocations: 19.94 kB / 0.5797 GB, free: 1.348 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.2929, allocations: 55.56 kB / 0.5798 GB, free: 1.293 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.073e-05/0.2929, allocations: 31.98 kB / 0.5798 GB, free: 1.262 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.0001207/0.293, allocations: 150.9 kB / 0.58 GB, free: 1.105 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.2931, allocations: 15.91 kB / 0.58 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.2933, allocations: 148.9 kB / 0.5801 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.2934, allocations: 7.938 kB / 0.5801 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.2934, allocations: 0 / 0.5801 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2934, allocations: 4 kB / 0.5801 GB, free: 0.918 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004487/0.2938, allocations: 376 kB / 0.5805 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2938, allocations: 0 / 0.5805 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.787e-05/0.2939, allocations: 16 kB / 0.5805 GB, free: 488 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2939, allocations: 0 / 0.5805 GB, free: 488 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.2939, allocations: 11.92 kB / 0.5805 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2939, allocations: 0 / 0.5805 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2939, allocations: 4.031 kB / 0.5805 GB, free: 472 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/0.2941, allocations: 213.9 kB / 0.5807 GB, free: 232 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.2941, allocations: 19.83 kB / 0.5807 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.2942, allocations: 11.95 kB / 0.5808 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.2943, allocations: 4 kB / 0.5808 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/0.2943, allocations: 11.98 kB / 0.5808 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.2943, allocations: 4 kB / 0.5808 GB, free: 180 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001315/0.2945, allocations: 156.5 kB / 0.5809 GB, free: 24 kB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2945, allocations: 0 / 0.5809 GB, free: 24 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004688/0.2949, allocations: 95.86 kB / 0.581 GB, free: 15.93 MB / 430.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.0002308/0.2952, allocations: 155.2 kB / 0.5812 GB, free: 15.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002821/0.2954, allocations: 174.2 kB / 0.5813 GB, free: 15.6 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2954, allocations: 256 / 0.5813 GB, free: 15.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.658e-05/0.2955, allocations: 27.92 kB / 0.5814 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.2959, allocations: 47.03 kB / 0.5814 GB, free: 15.53 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009021/0.2968, allocations: 0.5611 MB / 0.5819 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.2971, allocations: 0.7285 MB / 0.5827 GB, free: 14.17 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.791e-05/0.2972, allocations: 27.44 kB / 0.5827 GB, free: 14.14 MB / 430.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2972, allocations: 4 kB / 0.5827 GB, free: 14.14 MB / 430.1 MB Notification: Performance of Templates: time 0.005282/0.3024, allocations: 3.335 MB / 0.5859 GB, free: 10.8 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 480] 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: 6.966936541022733]