Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.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.001221/0.001221, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 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.001206/0.001206, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 18.57 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.007/1.007, allocations: 177 MB / 205.1 MB, free: 5.488 MB / 186.7 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.2536/0.2536, allocations: 34.86 MB / 296.6 MB, free: 460 kB / 266.7 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.SimpleAir,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.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir") translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,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.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 379.2 MB, free: 1.789 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.933e-05/3.196e-05, allocations: 6.312 kB / 379.3 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.2915/0.2915, allocations: 129.4 MB / 0.4968 GB, free: 27.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003725/0.2952, allocations: 4.822 MB / 0.5015 GB, free: 24.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.2954, allocations: 1.375 kB / 0.5015 GB, free: 24.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003368/0.2957, allocations: 58.48 kB / 0.5015 GB, free: 24.35 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002037/0.2978, allocations: 0.7924 MB / 0.5023 GB, free: 23.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003489/0.2981, allocations: 162.3 kB / 0.5025 GB, free: 23.81 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005404/0.2986, allocations: 401.9 kB / 0.5028 GB, free: 23.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.973e-05/0.2987, allocations: 12.19 kB / 0.5029 GB, free: 23.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002974/0.299, allocations: 207 kB / 0.5031 GB, free: 23.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/0.2992, allocations: 183.8 kB / 0.5032 GB, free: 23.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.474e-05/0.2993, allocations: 8.062 kB / 0.5032 GB, free: 23.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.3005, allocations: 0.615 MB / 0.5038 GB, free: 23.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.187e-05/0.3005, allocations: 58.05 kB / 0.5039 GB, free: 23.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.237e-05/0.3006, allocations: 81.84 kB / 0.504 GB, free: 23.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007465/0.3014, allocations: 480.2 kB / 0.5044 GB, free: 23.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3014, allocations: 0 / 0.5044 GB, free: 23.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3014, allocations: 1.062 kB / 0.5044 GB, free: 23.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.3014, allocations: 0 / 0.5044 GB, free: 23.07 MB / 410.7 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.000842/0.3022, allocations: 0.6335 MB / 0.505 GB, free: 22.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.3022, allocations: 13.97 kB / 0.5051 GB, free: 22.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.3024, allocations: 54.69 kB / 0.5051 GB, free: 22.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.3026, allocations: 165.1 kB / 0.5053 GB, free: 22.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.781e-05/0.3027, allocations: 231.6 kB / 0.5055 GB, free: 22.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.3027, allocations: 29.28 kB / 0.5055 GB, free: 22.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.303, allocations: 436.8 kB / 0.5059 GB, free: 21.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.303, allocations: 384 / 0.5059 GB, free: 21.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.3031, allocations: 15.53 kB / 0.506 GB, free: 21.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/0.3031, allocations: 7.25 kB / 0.506 GB, free: 21.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004633/0.3035, allocations: 466.5 kB / 0.5064 GB, free: 21.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007482/0.3043, allocations: 1.198 MB / 0.5076 GB, free: 20.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.3045, allocations: 140.8 kB / 0.5077 GB, free: 20.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.051e-05/0.3046, allocations: 60.83 kB / 0.5078 GB, free: 20.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001403/0.306, allocations: 0.8024 MB / 0.5086 GB, free: 20.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.306, allocations: 36.98 kB / 0.5086 GB, free: 20.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.944e-06/0.306, allocations: 4 kB / 0.5086 GB, free: 20 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004802/0.3065, allocations: 182.6 kB / 0.5088 GB, free: 19.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.033e-05/0.3065, allocations: 55.7 kB / 0.5088 GB, free: 19.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.3067, allocations: 292.8 kB / 0.5091 GB, free: 19.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.3067, allocations: 26.73 kB / 0.5091 GB, free: 19.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.223e-05/0.3068, allocations: 264.5 kB / 0.5094 GB, free: 19.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.3068, allocations: 60.17 kB / 0.5094 GB, free: 19.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.538e-05/0.3069, allocations: 87.78 kB / 0.5095 GB, free: 19.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.014e-05/0.307, allocations: 0.5074 MB / 0.51 GB, free: 18.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.302e-05/0.307, allocations: 30.48 kB / 0.51 GB, free: 18.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.3072, allocations: 426.6 kB / 0.5104 GB, free: 18.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.3074, allocations: 0.5072 MB / 0.5109 GB, free: 17.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.3074, allocations: 2.656 kB / 0.5109 GB, free: 17.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003707/0.3078, allocations: 360.8 kB / 0.5113 GB, free: 17.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3078, allocations: 9.625 kB / 0.5113 GB, free: 17.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.3078, allocations: 9.625 kB / 0.5113 GB, free: 17.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.3078, allocations: 12.38 kB / 0.5113 GB, free: 17.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.308, allocations: 106.6 kB / 0.5114 GB, free: 17.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.308, allocations: 19.19 kB / 0.5114 GB, free: 17.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.3082, allocations: 19 kB / 0.5115 GB, free: 17.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.3082, allocations: 24.56 kB / 0.5115 GB, free: 17.44 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (52): * Single equations (assignments): 51 * 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 6.972e-05/0.3083, allocations: 195.9 kB / 0.5117 GB, free: 17.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.549e-05/0.3083, allocations: 21.31 kB / 0.5117 GB, free: 17.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.3085, allocations: 147.6 kB / 0.5118 GB, free: 17.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.3085, allocations: 2.656 kB / 0.5118 GB, free: 17.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.3085, allocations: 0 / 0.5118 GB, free: 17.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.3085, allocations: 6.656 kB / 0.5118 GB, free: 17.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003085/0.3088, allocations: 399.1 kB / 0.5122 GB, free: 16.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3088, allocations: 2.094 kB / 0.5122 GB, free: 16.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.815e-05/0.3089, allocations: 29.75 kB / 0.5122 GB, free: 16.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3089, allocations: 3.312 kB / 0.5123 GB, free: 16.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.3089, allocations: 5.375 kB / 0.5123 GB, free: 16.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3089, allocations: 1.156 kB / 0.5123 GB, free: 16.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.3089, allocations: 2.172 kB / 0.5123 GB, free: 16.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.309, allocations: 262.1 kB / 0.5125 GB, free: 16.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.3091, allocations: 30.59 kB / 0.5125 GB, free: 16.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.3091, allocations: 12.41 kB / 0.5125 GB, free: 16.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.919e-05/0.3092, allocations: 6.453 kB / 0.5126 GB, free: 16.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.897e-05/0.3092, allocations: 20.47 kB / 0.5126 GB, free: 16.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.3092, allocations: 7 kB / 0.5126 GB, free: 16.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.006e-05/0.3093, allocations: 184.1 kB / 0.5128 GB, free: 16.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3093, allocations: 0 / 0.5128 GB, free: 16.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003548/0.3096, allocations: 96.62 kB / 0.5128 GB, free: 16.38 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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.0002105/0.3098, allocations: 158.1 kB / 0.513 GB, free: 16.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.31, allocations: 159.5 kB / 0.5132 GB, free: 16.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.31, allocations: 1.125 kB / 0.5132 GB, free: 16.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.983e-05/0.3101, allocations: 40.84 kB / 0.5132 GB, free: 16.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.3103, allocations: 59.83 kB / 0.5132 GB, free: 16.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000768/0.3111, allocations: 0.498 MB / 0.5137 GB, free: 15.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.179e-05/0.3111, allocations: 76.92 kB / 0.5138 GB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001219/0.3113, allocations: 56.83 kB / 0.5139 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.3114, allocations: 150.7 kB / 0.514 GB, free: 15.7 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.3114, allocations: 0 / 0.514 GB, free: 15.7 MB / 410.7 MB Notification: Performance of Templates: time 0.004498/0.3159, allocations: 3.55 MB / 0.5175 GB, free: 15.23 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5266232029534876]